788
788
for exp, got in zip(expected, fix_os_paths(f.choices)):
789
789
self.assertEqual(exp[1], got[1])
791
791
self.assertRaisesErrorWithMessage(ValidationError, "[u'Select a valid choice. fields.py is not one of the available choices.']", f.clean, 'fields.py')
792
792
assert fix_os_paths(f.clean(path + 'fields.py')).endswith('/django/forms/fields.py')
794
794
def test_filepathfield_67(self):
797
797
f = FilePathField(path=path, match='^.*?\.py$')