Skip to content

Commit 0714c96

Browse files
committed
Update the acl test to work in Python 2.7
1 parent 304df48 commit 0714c96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/acl_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def test_create_and_clone(self):
7878
self.assertIn(clone_id, [r.get('ID') for r in data])
7979

8080
def test_create_and_update(self):
81-
acl_id = self.consul.acl.create(self.uuidv4())
81+
acl_id = str(self.consul.acl.create(self.uuidv4()))
8282
self.consul.acl.update(acl_id, 'Foo')
8383
data = self.consul.acl.list()
8484
self.assertIn('Foo', [r.get('Name') for r in data])

0 commit comments

Comments
 (0)