Skip to content

Commit 903109d

Browse files
remove debugging code
1 parent 20078e2 commit 903109d

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

tests/integration/release/conftest.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,8 +215,6 @@ def wrapper(*args: Any, **kwargs: Any) -> pd.DataFrame:
215215
)
216216
filename = f"{func.__name__}_resources.csv"
217217
output_path = output_dir / filename
218-
with open('/ihme/homes/hjafari/ppl_profiling_dir.txt', 'w') as f:
219-
f.write(str(output_path))
220218
resources.to_csv(output_path, index=False)
221219
return df
222220

tests/integration/release/test_runner.py

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,15 @@
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
)
2423
def 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

Comments
 (0)