Skip to content

Commit

Permalink
fixed bug in parallel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dyumanaditya committed Mar 27, 2024
1 parent bdd7759 commit 89ae058
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
5 changes: 1 addition & 4 deletions tests/test_hello_world.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

def test_hello_world():
# Modify the paths based on where you've stored the files we made above
# graph_path = './tests/friends_graph.graphml'
graph_path = './friends_graph.graphml'
graph_path = './tests/friends_graph.graphml'

# Modify pyreason settings to make verbose and to save the rule trace to a file
pr.settings.verbose = True # Print info to screen
Expand Down Expand Up @@ -40,5 +39,3 @@ def test_hello_world():

# John should be popular in timestep 3
assert 'John' in dataframes[2]['component'].values and dataframes[2].iloc[1].popular == [1, 1], 'John should have popular bounds [1,1] for t=2 timesteps'

test_hello_world()
5 changes: 1 addition & 4 deletions tests/test_hello_world_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

def test_hello_world_parallel():
# Modify the paths based on where you've stored the files we made above
# graph_path = './tests/friends_graph.graphml'
graph_path = './friends_graph.graphml'
graph_path = './tests/friends_graph.graphml'

# Modify pyreason settings to make verbose and to save the rule trace to a file
pr.settings.verbose = True # Print info to screen
Expand Down Expand Up @@ -41,5 +40,3 @@ def test_hello_world_parallel():

# John should be popular in timestep 3
assert 'John' in dataframes[2]['component'].values and dataframes[2].iloc[1].popular == [1, 1], 'John should have popular bounds [1,1] for t=2 timesteps'

test_hello_world_parallel()

0 comments on commit 89ae058

Please sign in to comment.