File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
contentcuration/contentcuration/tests/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ def test_versioned_database_exists(self):
6363 with open (self .unversioned_db_path , "w" ) as f :
6464 f .write (unversioned_db_content )
6565
66- ensure_versioned_database_exists (self .channel )
66+ ensure_versioned_database_exists (self .channel . id , self . channel . version )
6767
6868 with open (self .versioned_db_path ) as f :
6969 read_versioned_content = f .read ()
@@ -75,7 +75,7 @@ def test_versioned_database_does_not_exist(self):
7575 with open (self .unversioned_db_path , "w" ) as f :
7676 f .write (unversioned_db_content )
7777
78- ensure_versioned_database_exists (self .channel )
78+ ensure_versioned_database_exists (self .channel . id , self . channel . version )
7979
8080 with open (self .versioned_db_path ) as f :
8181 read_versioned_content = f .read ()
@@ -91,4 +91,4 @@ def test_not_published(self):
9191 )
9292
9393 with self .assertRaises (ValueError ):
94- ensure_versioned_database_exists (self .channel )
94+ ensure_versioned_database_exists (self .channel . id , self . channel . version )
You can’t perform that action at this time.
0 commit comments