Skip to content

Commit

Permalink
fix(tests): not working find authorizations influxdata/influxdb#16833
Browse files Browse the repository at this point in the history
  • Loading branch information
bednar committed Feb 12, 2020
1 parent 0b80ca4 commit cc73766
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tests/test_AuthorizationApi.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def test_updateAuthorizationStatus(self):
authorization = self.authorization_api().update_authorization(authorization)
self.assertEqual(authorization.status, "active")

@pytest.mark.skip(reason="https://github.com/influxdata/influxdb/issues/16833")
def test_deleteAuthorization(self):
create_authorization = self.authorization_api().create_authorization(self.organization.id,
self.new_permissions())
Expand Down
4 changes: 2 additions & 2 deletions tests/test_WriteApiBatching.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,8 @@ def test_default_tags(self):
self.assertEqual(1, len(requests))

request = str(requests[0].body)
self.assertNotEquals(-1, request.find('customer=California\\\\ Miner'))
self.assertNotEquals(-1, request.find('id=132-987-655'))
self.assertNotEqual(-1, request.find('customer=California\\\\ Miner'))
self.assertNotEqual(-1, request.find('id=132-987-655'))


if __name__ == '__main__':
Expand Down

0 comments on commit cc73766

Please sign in to comment.