Checks the type of the value to be int, and that the expected value matches the actual value produced.
(self, value, expected_value=None)
| 82 | self.assertEqual(value, expected_value) |
| 83 | |
| 84 | def assertNumeric(self, value, expected_value=None): |
| 85 | """ |
| 86 | Checks the type of the value to be int, and that the expected value |
| 87 | matches the actual value produced. |
| 88 | """ |
| 89 | self.assertType(value, numbers.Real) |
| 90 | if expected_value is not None: |
| 91 | self.assertEqual(value, expected_value) |
| 92 | |
| 93 | def test_export_status(self): |
| 94 | self.assertString(self.export(1)["status"], "pending") |
no test coverage detected