Skip to content

Commit

Permalink
Fix coverage of tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
namcsi committed May 23, 2023
1 parent e25fece commit eb951ca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
[run]
source = renopro
tests
omit = */renopro/__main__.py
[report]
exclude_lines =
Expand Down
7 changes: 0 additions & 7 deletions tests/test_reify.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,6 @@ def test_add_ast_facts(self):
rast.add_ast_facts(ast_facts)
self.assertEqual(rast.factbase, FactBase(ast_facts))

def assertReifiedFactsEqual(self, prog_str: str, facts:
Iterable[preds.AST_Predicate]):
"""Assert that factbase contained in reified AST equals
factbase constructed from list of AST Predicates."""
rast = ReifiedAST.from_str(prog_str)
self.assertEqual(rast.factbase, FactBase(facts))

def assertConversionsEqual(self, prog_str: str,
ast_facts: Iterable[preds.AST_Predicate]):
"""Assert that reification of prog_str results in ast_facts,
Expand Down

0 comments on commit eb951ca

Please sign in to comment.