Esempio n. 1
0
 def test_remove_current_dusty_config_from_ending(self):
     result = config_file.remove_current_dusty_config(self.spec_output + self.non_spec_starter)
     self.assertEqual(result, self.non_spec_starter)
Esempio n. 2
0
 def test_create_and_remove_section(self):
     contents = 'arbitrary contents'
     dusty_config = config_file.create_config_section(contents)
     stripped_config = config_file.remove_current_dusty_config(dusty_config)
     self.assertEqual(stripped_config, "")
Esempio n. 3
0
 def test_remove_current_dusty_config_from_blank(self):
     result = config_file.remove_current_dusty_config(self.spec_output)
     self.assertEqual(result, "")