[V3 Admin] Rewrite of Squid-Plugins Admin cog (#825)

* Add/remove roles

* Announcement

* Edit role stuff

A bit of refactoring

* Selfrole stuff

* Add announce ignore capabilities

* announce configurations

Announcement fixes

* Serverlock initial commit

* Add some admin tests

better test

* Update for new config

* Add user hierarchy checks

* Fix tests

* Update from rebase

* Fix config getter

* Fix async getters/selfrole
This commit is contained in:
Will
2017-10-14 18:05:08 -04:00
committed by GitHub
parent fc36dae54f
commit 4ddd576315
7 changed files with 562 additions and 0 deletions

View File

@@ -24,6 +24,13 @@ def override_data_path(tmpdir):
data_manager.basic_config['DATA_PATH'] = str(tmpdir)
@pytest.fixture()
def coroutine():
async def some_coro(*args, **kwargs):
return args, kwargs
return some_coro
@pytest.fixture()
def json_driver(tmpdir_factory):
import uuid