Example #1
0
 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)
Example #2
0
 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)
Example #3
0
 def test_load_without_app_files(self):
     data = load_file(self.working_dir)
     self.assertEqual(data, "")
Example #4
0
 def test_load_without_app_files(self):
     data = load_file(self.working_dir)
     self.assertEqual(data, "")