Skip to content

Commit a00028f

Browse files
committed
Bug finding
1 parent 39a5b76 commit a00028f

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,4 @@ jobs:
5353
- name: Install and Test with pytest
5454
run: |
5555
python -m pip install -e .[Dev]
56-
pytest tests/ --cov=RATapi --cov-report=term
56+
pytest -s tests/ --cov=RATapi --cov-report=term

tests/test_project.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1120,9 +1120,10 @@ def test_write_script(project, request, temp_dir, input_filename: str) -> None:
11201120
# Test the file is written in the correct place
11211121
script_path = Path(temp_dir, "test_script.py")
11221122
assert script_path.exists()
1123-
1123+
print(script_path.read_text())
11241124
# Test we get the project object we expect when running the script
11251125
exec(script_path.read_text())
1126+
print(locals)
11261127
new_project = locals()["problem"]
11271128

11281129
for class_list in RATapi.project.class_lists:

0 commit comments

Comments
 (0)