1010@pytest .mark .parametrize (
1111 "pytest_args" ,
1212 [
13- # ([]),
13+ ([]),
1414 (["--dataset" , "acs" ]),
15- # (["--dataset", "cps"]),
15+ (["--dataset" , "cps" ]),
1616 # (["--dataset", "acs", "--population", "USA"]),
1717 # (["--dataset", "acs", "--population", "USA", "--state", "RI"]),
1818 #(["--dataset", "wic", "--year", "2015"]),
1919 # (["--dataset", "wic", "--population", "USA", "--state", "RI", "--year", "2015"]),
2020 ],
21- #ids=["1", "2", "3", "4"],
22- ids = ['1' ],
21+ ids = ["1" , "2" , "3" , "4" ],
2322)
2423def test_release_tests (
2524 pytest_args : list [str ], request : pytest .FixtureRequest
@@ -30,14 +29,13 @@ def test_release_tests(
3029
3130 os .chdir (Path (__file__ ).parent ) # need this to access cli options from conftest.py
3231 base_cmd = ["pytest" , "--release" , "test_release.py" , "--check-max-tb=1000" , f"--output-dir={ timestamped_dir } " ]
33- cmd = base_cmd + pytest_args + [ "--population" , "USA" , "-k" , "unnoised" ]
32+ cmd = base_cmd + pytest_args
3433
3534 # log using job id
3635 job_id = request .node .callspec .id
3736 log_dir = timestamped_dir .resolve () / "logs"
3837 log_dir .mkdir (parents = True , exist_ok = True )
3938 log_file = log_dir / f"pytest_{ job_id } .o"
40- breakpoint ()
4139 with open (log_file , "w" ) as file :
4240 subprocess .run (cmd , stdout = file )
4341
0 commit comments