def test__build_environment_returns_empty_dict_without_settings(self):
     sd = SubmissionDetails()
     dict = sd._SubmissionDetails__build_environment(self.t)
     self.assertEqual(dict, {})
示例#2
0
 def test__build_environment_returns_empty_dict_without_settings(self):
     sd = SubmissionDetails()
     dict = sd._SubmissionDetails__build_environment(self.t)
     self.assertEqual(dict, {})
 def test__build_environment_returns_valid_dict(self):
     p1 = EnvironmentFactory.create(task=self.t, env="Test", value="McPath")
     sd = SubmissionDetails()
     dict = sd._SubmissionDetails__build_environment(self.t)
     self.assertEqual(dict, {"Test": "McPath"})
示例#4
0
 def test__build_environment_returns_valid_dict(self):
     p1 = EnvironmentFactory.create(task=self.t, env="Test", value="McPath")
     sd = SubmissionDetails()
     dict = sd._SubmissionDetails__build_environment(self.t)
     self.assertEqual(dict, {"Test": "McPath"})