diff --git a/setup/setup.py b/setup/setup.py index 8cd6459..f5aaad6 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -1,4 +1,5 @@ import json +import os from database.database import Database from objects.asset import Asset from objects.assetManager import AssetManager @@ -24,7 +25,8 @@ def setup(): print("Populating tables:") - jsonFile = open('etc/index.json') + os.chdir('etc') + jsonFile = open('index.json') objects = json.load(jsonFile) jsonFile.close() diff --git a/test/test_generator.py b/test/test_generator.py index eabf0f7..f3bfd79 100644 --- a/test/test_generator.py +++ b/test/test_generator.py @@ -12,7 +12,7 @@ class TestGenerator(unittest.TestCase): @classmethod def setUpClass(self): - print("\nGenerate: ", end='') + print("\nGenerate (last one takes ~30s, be patient!): ", end='') self.maxDiff = None self.customObjects = {