def test_get_default_config(self):
        ext = Extension()

        config = ext.get_default_config()

        self.assertIn('[settings]', config)
        self.assertIn('enabled = true', config)
Example #2
0
    def test_get_default_config(self):
        ext = Extension()

        config = ext.get_default_config()

        self.assertIn('[settings]', config)
        self.assertIn('enabled = true', config)
    def test_get_config_schema(self):
        ext = Extension()

        schema = ext.get_config_schema()

        # TODO Test the content of your config schema
        #self.assertIn('username', schema)
        #self.assertIn('password', schema)

    # TODO Write more tests
Example #4
0
    def test_get_config_schema(self):
        ext = Extension()

        schema = ext.get_config_schema()