Skip to content

Commit

Permalink
Merge pull request #1038 from davidkim1/kwargs
Browse files Browse the repository at this point in the history
In test builders, added an elif case for publist that runs kwargs wit…
  • Loading branch information
sbillinge authored Oct 14, 2023
2 parents fca28a5 + 7064f59 commit d907097
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_builders.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,10 @@ def test_builder(bm, db_src, make_db, make_mongodb, monkeypatch):
elif bm == "grantreport":
main(["build", bm, "--no-pdf", "--grant", "SymPy-1.1",
"--from", "2017-04-01", "--to", "2018-03-31"])
elif bm == "publist":
subprocess.run(["regolith", "build", bm, "--no-pdf"], check=True, cwd=repo)
subprocess.run(["regolith", "build", bm, "--no-pdf",
"--kwargs", "pages:e103"], check=True, cwd=repo)
else:
subprocess.run(["regolith", "build", bm, "--no-pdf"], check=True, cwd=repo)
os.chdir(os.path.join(repo, "_build", bm))
Expand Down

0 comments on commit d907097

Please sign in to comment.