def test_upsert_config(self):
     """
 This test adding an attribute to our config
 """
     c = MockContext()
     result = tasks.config_set(c, quadrant, attribute, value)
     self.assertTrue(result)
 def test_read_config(self):
     """
 This test reading an attribute from our config
 """
     c = MockContext()
     result = tasks.config_set(c, quadrant, attribute, value)
     result_last = tasks.config_get(c, quadrant, attribute)
     self.assertEqual(result_last, value)
    def tearDownClass(self):
        """
    Lets Remove the config file we create so it works next time we test
    """

        c = MockContext()
        result = tasks.config_set(c, quadrant, attribute, value)
        last_result = tasks.config_delete_file(c, quadrant)