(self)
| 6 | |
| 7 | class FilePathFieldTests(SimpleTestCase): |
| 8 | def test_path(self): |
| 9 | path = os.path.dirname(__file__) |
| 10 | field = FilePathField(path=path) |
| 11 | self.assertEqual(field.path, path) |
| 12 | self.assertEqual(field.formfield().path, path) |
| 13 | |
| 14 | def test_callable_path(self): |
| 15 | path = os.path.dirname(__file__) |
nothing calls this directly
no test coverage detected