@@ -23,22 +23,13 @@ def test_tg_run_demo(obs_export, tg_run_demo_action, args_mock, start_cmd_mock,
2323
2424 compose_args = ("docker" , "compose" , "-f" , compose_path , "exec" , "engine" , "testgen" )
2525 kwargs = dict (raise_on_non_zero = True , env = None )
26- expected_calls = [
27- call (* compose_args , "run-profile" , "--table-group-id" , "0ea85e17-acbe-47fe-8394-9970725ad37d" , ** kwargs ),
28- call (
29- * compose_args , "run-test-generation" , "--table-group-id" , "0ea85e17-acbe-47fe-8394-9970725ad37d" , ** kwargs
30- ),
31- call (* compose_args , "run-tests" , "--project-key" , "DEFAULT" , "--test-suite-key" , "default-suite-1" , ** kwargs ),
32- call (* compose_args , "quick-start" , "--simulate-fast-forward" , ** kwargs ),
33- ]
3426
3527 if obs_export :
3628 demo_cfg_path = request .getfixturevalue ("demo_config_path" )
37- expected_calls + = [
29+ expected_calls = [
3830 call (
3931 * compose_args ,
4032 "quick-start" ,
41- "--delete-target-db" ,
4233 "--observability-api-url" ,
4334 "demo-api-host" ,
4435 "--observability-api-key" ,
@@ -71,8 +62,8 @@ def test_tg_run_demo(obs_export, tg_run_demo_action, args_mock, start_cmd_mock,
7162 ),
7263 ]
7364 else :
74- expected_calls + = [
75- call (* compose_args , "quick-start" , "--delete-target-db" , ** kwargs ),
65+ expected_calls = [
66+ call (* compose_args , "quick-start" , ** kwargs ),
7667 ]
7768
7869 tg_run_demo_action .execute ()
0 commit comments