Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicpottier committed Mar 23, 2020
1 parent 80d9488 commit 03d35ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_runner/blog/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ def test_get_import_file_headers(self):
self.assertEqual(Post.get_import_file_headers(open_file), ['title', 'body', 'order', 'tags'])

with open('test_runner/blog/test_files/bom_import.csv', 'rb') as open_file:
self.assertEqual(Post.get_import_file_headers(open_file), ['URN:tel', 'Name', 'Field:email-address'])
self.assertEqual(Post.get_import_file_headers(open_file), ['urn:tel', 'name', 'field:email-address'])

def test_csv_import(self):
with self.settings(CELERY_ALWAYS_EAGER=True, CELERY_RESULT_BACKEND='cache', CELERY_CACHE_BACKEND='memory'):
Expand Down

0 comments on commit 03d35ab

Please sign in to comment.