Skip to content

Commit

Permalink
Update js test
Browse files Browse the repository at this point in the history
  • Loading branch information
hezyin committed Jan 14, 2019
1 parent c70e8f2 commit c9e5116
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test_analytics/test_analyzer_js.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def test_az(az: Analyzer):
try:
# wait for the server to spin up
time.sleep(1.0)
az.graph_server.reset_graph()
az._graph_server.reset_graph()
az.analyze()
ccgraph = az.get_graph()

Expand All @@ -60,10 +60,7 @@ def test_az(az: Analyzer):

commits = ccgraph.commits()
for func, data in ccgraph.nodes(data=True):
size = data['size']
history = data['history']
assert_size_match_history(size, history)

for cindex, csize in history.items():
commit_message = commits[cindex]['message']
assert(csize == history_truth[commit_message.strip()][func])
Expand Down

0 comments on commit c9e5116

Please sign in to comment.