summaryrefslogtreecommitdiff
path: root/tests/test_pretty_print.py
diff options
context:
space:
mode:
authora-e-m <alexemartyn@gmail.com>2013-12-08 20:17:19 (GMT)
committera-e-m <alexemartyn@gmail.com>2013-12-08 20:17:19 (GMT)
commitd6bffc4691cf1467cf93d527724f7278b418273d (patch)
treea50be98251ac8da20f8ce2362d8a5d267a978fb0 /tests/test_pretty_print.py
parente27f971d9c3dc26a9a023a2aea4c265dac53437b (diff)
Taking out test accidentially left in, my user token
Diffstat (limited to 'tests/test_pretty_print.py')
-rwxr-xr-xtests/test_pretty_print.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/test_pretty_print.py b/tests/test_pretty_print.py
index a88a22e..b601c84 100755
--- a/tests/test_pretty_print.py
+++ b/tests/test_pretty_print.py
@@ -366,7 +366,7 @@ def to_html(project_name, startdate, tests, enddate, sysinfo, sysid, makefiles):
API_URL = 'https://api.github.com/%s'
# Username is personal access token, from https://github.com/settings/applications
# This way, no password is needed
-USERNAME = 'b2af28787fb1efd9a5b3a3b4f1be8a3ac9b5b335'
+USERNAME = '' # add OpenScad user token
PASSWORD = ''
def make_auth(username, password):
@@ -400,9 +400,6 @@ def get_raw_urls(result):
for file in files:
yield files[file].get('raw_url').replace('gist.github.com', 'rawgithub.com')
-result = post_gist('aaabbb.html', '''<html><head></head><h3>I\'m asdf</h3></html>''')
-for url in get_raw_urls(result):
- print(url)
# --- End Web Upload ---
contact: Jan Huwald // Impressum