Skip to content

Commit

Permalink
Fix download url in failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Iulia Chiriac committed Apr 24, 2017
1 parent c342076 commit 68e7ef1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions gemet/test_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
}
}

SECRET_KEY = 'Test secret key'

LOCAL_INSTALLED_APPS = ('django_nose', )

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'
Expand Down
3 changes: 2 additions & 1 deletion gemet/thesaurus/tests/test_download_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ def setUp(self):
LanguageFactory()
VersionFactory()
create_export_files()
self.url = reverse('download', kwargs={'langcode': 'en'})
self.url = reverse('download',
kwargs={'langcode': 'en', 'version': 'latest'})

def tearDown(self):
shutil.rmtree(settings.EXPORTS_ROOT)
Expand Down

0 comments on commit 68e7ef1

Please sign in to comment.