Skip to content

Commit cb0d206

Browse files
committed
fix: smoketest
1 parent a0c7400 commit cb0d206

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

smoketests/tests/auto_migration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ class AddTableColumns(Smoketest):
281281
"""
282282

283283
def test_add_table_columns(self):
284-
"""This tests that a module with invalid schema changes cannot be published without -c or a migration."""
284+
"""This tests that a module with adding columns with defaults can be published"""
285285

286286
logging.info("Initial publish complete, trying to do an invalid update.")
287287

smoketests/tests/modules.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_module_update(self):
8888
self.write_module_code(self.MODULE_CODE_B)
8989
with self.assertRaises(CalledProcessError) as cm:
9090
self.publish_module(name, clear=False)
91-
self.assertIn("Error: Database update rejected", cm.exception.stderr)
91+
self.assertIn("Error: Pre-publish check failed", cm.exception.stderr)
9292

9393
# Check that the old module is still running by calling say_hello
9494
self.call("say_hello")

0 commit comments

Comments
 (0)