Skip to content

Commit

Permalink
updated to 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
riley206 committed Feb 5, 2024
1 parent 3bfedf1 commit c506937
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/agent_watcher/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# ===----------------------------------------------------------------------===
#
# Copyright 2022 Battelle Memorial Institute
# Copyright 2024 Battelle Memorial Institute
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
Expand Down
9 changes: 3 additions & 6 deletions tests/test_agent_watcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#
# ===----------------------------------------------------------------------===
#
# Copyright 2022 Battelle Memorial Institute
# Copyright 2024 Battelle Memorial Institute
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may not
# use this file except in compliance with the License. You may obtain a copy
Expand Down Expand Up @@ -41,13 +41,10 @@
def platform(request, volttron_instance):
global listener_uuid

listener_uuid = volttron_instance.install_agent(agent_dir="volttron-listener",
vip_identity="listener",
start=True)
listener_uuid = volttron_instance.install_agent(agent_dir="volttron-listener", vip_identity="listener", start=True)
gevent.sleep(2)

watcher_uuid = volttron_instance.install_agent(agent_dir="volttron-agent-watcher",
config_file=WATCHER_CONFIG)
watcher_uuid = volttron_instance.install_agent(agent_dir="volttron-agent-watcher", config_file=WATCHER_CONFIG)
gevent.sleep(2)

agent = volttron_instance.build_agent()
Expand Down

0 comments on commit c506937

Please sign in to comment.