Rev423, Rewrite and reorganize test using pytest, New PhantomJS based browser tests, Fix html requests error without wrapper nonce, Indent json files with 1 space

This commit is contained in:
HelloZeroNet 2015-09-20 00:27:54 +02:00
parent 93312ae129
commit e00537ba57
16 changed files with 575 additions and 584 deletions

View file

@ -178,7 +178,7 @@ class SiteStorage:
# Write formatted json file
def writeJson(self, inner_path, data):
content = json.dumps(data, indent=2, sort_keys=True)
content = json.dumps(data, indent=1, sort_keys=True)
# Make it a little more compact by removing unnecessary white space
def compact_list(match):