Skip to content
This repository was archived by the owner on Apr 15, 2024. It is now read-only.

Commit d143db3

Browse files
committed
clean up state after test_agent_services runs
1 parent 5830004 commit d143db3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/test_std.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def test_agent_services(self, consul_port):
274274
assert [
275275
v['Address'] for k, v in c.agent.services().iteritems()
276276
if k == 'foo'][0] == '10.10.10.1'
277+
assert c.agent.service.deregister('foo') is True
277278

278279
def test_catalog(self, consul_port):
279280
c = consul.Consul(port=consul_port)

0 commit comments

Comments
 (0)