Skip to content

Commit

Permalink
fix(enhance_subscribe): specify the plot channel for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bangxiangyong committed Apr 27, 2021
1 parent f619563 commit 1d293e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/test_send_plot_image.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_send_plot():
gen_agent = agentNetwork.add_agent(agentType=GeneratorAgent)
monitor_agent = agentNetwork.add_agent(agentType=MonitorAgent)

agentNetwork.bind_agents(gen_agent, monitor_agent)
agentNetwork.bind_agents(gen_agent, monitor_agent, channel="plot")

gen_agent.dummy_send_graph(mode="image")
time.sleep(3)
Expand Down
2 changes: 1 addition & 1 deletion tests/test_send_plot_plotly.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def test_send_plot():
gen_agent = agentNetwork.add_agent(agentType=GeneratorAgent)
monitor_agent = agentNetwork.add_agent(agentType=MonitorAgent)

agentNetwork.bind_agents(gen_agent, monitor_agent)
agentNetwork.bind_agents(gen_agent, monitor_agent, channel="plot")

gen_agent.dummy_send_graph(mode="plotly")
time.sleep(3)
Expand Down

0 comments on commit 1d293e7

Please sign in to comment.