diff --git a/tests/forms_tests/field_tests/test_filepathfield.py b/tests/forms_tests/field_tests/test_filepathfield.py
index 44f6aff521..a74a4c09a8 100644
a
|
b
|
class FilePathFieldTest(SimpleTestCase):
|
35 | 35 | ] |
36 | 36 | path = os.path.join(PATH, 'filepathfield_test_dir') + '/' |
37 | 37 | |
| 38 | def test_nonexistent_path(self): |
| 39 | f = FilePathField(path='nonexistent') |
| 40 | self.assertChoices(f, []) |
| 41 | |
38 | 42 | def assertChoices(self, field, expected_choices): |
39 | 43 | self.assertEqual(fix_os_paths(field.choices), expected_choices) |
40 | 44 | |