Add tests for superuser config API calls

This commit is contained in:
Joseph Schorr 2016-02-11 11:04:37 +02:00
parent 86584abba5
commit 03533db5a3
2 changed files with 111 additions and 7 deletions

View file

@ -7,8 +7,11 @@ class TestConfigProvider(BaseProvider):
""" Implementation of the config provider for testing. Everything is kept in-memory instead on
the real file system. """
def __init__(self):
self.clear()
def clear(self):
self.files = {}
self._config = None
self._config = {}
@property
def provider_id(self):