Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Increase in one the number of imported files because of new conf.py
Browse files Browse the repository at this point in the history
humitos committed Mar 22, 2018
1 parent d9518a0 commit 468dbab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions readthedocs/rtd_tests/tests/test_imported_file.py
Original file line number Diff line number Diff line change
@@ -19,9 +19,9 @@ def test_properly_created(self):
test_dir = os.path.join(base_dir, 'files')
self.assertEqual(ImportedFile.objects.count(), 0)
_manage_imported_files(self.version, test_dir, 'commit01')
self.assertEqual(ImportedFile.objects.count(), 2)
self.assertEqual(ImportedFile.objects.count(), 3)
_manage_imported_files(self.version, test_dir, 'commit01')
self.assertEqual(ImportedFile.objects.count(), 2)
self.assertEqual(ImportedFile.objects.count(), 3)

def test_update_commit(self):
test_dir = os.path.join(base_dir, 'files')
@@ -47,4 +47,4 @@ def test_update_content(self):
_manage_imported_files(self.version, test_dir, 'commit02')
self.assertNotEqual(ImportedFile.objects.get(name='test.html').md5, 'c7532f22a052d716f7b2310fb52ad981')

self.assertEqual(ImportedFile.objects.count(), 2)
self.assertEqual(ImportedFile.objects.count(), 3)

0 comments on commit 468dbab

Please sign in to comment.