def test_load_app_yml(self): file = os.path.join(self.working_dir, "app.yaml") with open(file, "w") as f: f.write(self.data) data = load_file(self.working_dir) self.assertEqual(data, self.data) os.remove(file)
def test_load_without_app_files(self): data = load_file(self.working_dir) self.assertEqual(data, "")