diff --git a/.gitignore b/.gitignore index b51d082..9aca1ef 100755 --- a/.gitignore +++ b/.gitignore @@ -5,4 +5,5 @@ __pycache__ /venv*/ *.pyc .DS_Store -.vscode \ No newline at end of file +.vscode +test/report.html diff --git a/bin/akamai-etp b/bin/akamai-etp index f3de94c..8c68c32 100755 --- a/bin/akamai-etp +++ b/bin/akamai-etp @@ -530,7 +530,7 @@ def main(): exit_fromresponse(r) else: url = urljoin(baseurl, "/etp-config/v1/configs/%s/lists" % (config.etp_config_id)) - r = session.get(url, params=build_params(page=page_number), headers=headers) + r = session.get(url, params=build_params(), headers=headers) if r.status_code == 200: for list_item in r.json(): print("%s,%s" % (list_item.get("id"), list_item.get('name'))) diff --git a/test/nose2.cfg b/test/nose2.cfg index 7b3c35f..56b0fa1 100644 --- a/test/nose2.cfg +++ b/test/nose2.cfg @@ -3,4 +3,4 @@ plugins = nose2_html_report.html_report [html-report] always-on = True -path = test_results/my_custom_report_file.html \ No newline at end of file +path = report.html \ No newline at end of file diff --git a/test/report.html b/test/report.html deleted file mode 100644 index 0486210..0000000 --- a/test/report.html +++ /dev/null @@ -1,269 +0,0 @@ - - -
-
Ensure version of the CLI is displayed
None
-
Call CLI with a bogus edgerc file, help should be displayed.
None
-
Fetch AUP events
None
-
Fetch AUP events, export as a file
None
-
Fetch threat events
None
-