Skip to content

Commit

Permalink
fixes #10 due to wrong check for standalone mode on burpui
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodav committed May 23, 2017
1 parent 04eb5d1 commit 3206fed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
1.2.4:
* fix #10 not working with burpui standalone due to wrong test for multi-agent
1.2.3:
* change to new burpui demo url
* fix tests removing unnecesary pandas dependencies as it is not used
Expand Down
2 changes: 1 addition & 1 deletion burp_reports/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.2.3
1.2.4
6 changes: 4 additions & 2 deletions burp_reports/tests/test_burpui_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@

from ..interfaces.burpui_api_interface import BUIClients

burpui_demo='https://admin:[email protected]/api/'
burpui_standalone='http://admin:[email protected]:8080/api/'

def test_bui_demo():
clients_obj = BUIClients(burpui_apiurl='https://admin:[email protected]/api/')
clients_obj = BUIClients(burpui_apiurl=burpui_demo)
clients_dict = clients_obj.translate_clients_stats()

assert isinstance(clients_dict, dict)

return clients_dict

def test_bui_demo_detail():
clients_obj = BUIClients(burpui_apiurl='https://admin:[email protected]/api/')
clients_obj = BUIClients(burpui_apiurl=burpui_demo)
clients_dict = clients_obj.translate_clients_stats(detail=True)

assert isinstance(clients_dict, dict)
Expand Down

0 comments on commit 3206fed

Please sign in to comment.