Skip to content

Commit 89ae058

Browse files
committed
fixed bug in parallel tests
1 parent bdd7759 commit 89ae058

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tests/test_hello_world.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
def test_hello_world():
66
# Modify the paths based on where you've stored the files we made above
7-
# graph_path = './tests/friends_graph.graphml'
8-
graph_path = './friends_graph.graphml'
7+
graph_path = './tests/friends_graph.graphml'
98

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

4140
# John should be popular in timestep 3
4241
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'
43-
44-
test_hello_world()

tests/test_hello_world_parallel.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
def test_hello_world_parallel():
66
# Modify the paths based on where you've stored the files we made above
7-
# graph_path = './tests/friends_graph.graphml'
8-
graph_path = './friends_graph.graphml'
7+
graph_path = './tests/friends_graph.graphml'
98

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

4241
# John should be popular in timestep 3
4342
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'
44-
45-
test_hello_world_parallel()

0 commit comments

Comments
 (0)