def _pre_setup(self): graph.initialize_graph() super(UberTest, self)._pre_setup()
def load_all(): management.call_command("syncdb") graph.initialize_graph() uber_dir = os.path.dirname(os.path.realpath(__file__)) fixture_path = "{}/fixtures/{}".format(uber_dir, "all.json") management.call_command("loaddata", fixture_path)