Skip to content

Commit

Permalink
Resolved failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
bamhm182 committed Apr 16, 2023
1 parent f1e9759 commit 26013be
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/test_targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def test_get_assets(self):
self.targets.api.request.assert_called_with('GET',
'asset/v2/assets?listingUid%5B%5D=327h8iw&scope%5B%5D=in' +
'&scope%5B%5D=discovered&sort%5B%5D=location&active=true' +
'&sortDir=asc&page=1&perPage=500')
'&sortDir=asc&page=1&perPage=5000')

def test_get_assets_non_defaults(self):
"""Should return a list of assets given information to query"""
Expand All @@ -244,13 +244,13 @@ def test_get_assets_non_defaults(self):
sort='loc',
sort_dir='desc',
page=3,
perPage=5000,
perPage=50,
organization_uid='uiehqw'))
self.targets.api.request.assert_called_with('GET',
'asset/v2/assets?listingUid%5B%5D=327h8iw' +
'&organizationUid%5B%5D=uiehqw&assetType%5B%5D=blah' +
'&hostType%5B%5D=cidr&scope%5B%5D=secret' +
'&sort%5B%5D=loc&active=false&sortDir=desc&page=3&perPage=5000')
'&sort%5B%5D=loc&active=false&sortDir=desc&page=3&perPage=50')

def test_get_attachments_current(self):
"""Should return a list of attachments based on currently selected target"""
Expand Down

0 comments on commit 26013be

Please sign in to comment.