diff --git a/tests/dummy_domain/routers/__init__.py b/tests/dummy_domain/abc/__init__.py similarity index 100% rename from tests/dummy_domain/routers/__init__.py rename to tests/dummy_domain/abc/__init__.py diff --git a/tests/dummy_domain/routers/abc/alphabet/TEST_uuid/__init__.py b/tests/dummy_domain/abc/alphabet/TEST_uuid/__init__.py similarity index 100% rename from tests/dummy_domain/routers/abc/alphabet/TEST_uuid/__init__.py rename to tests/dummy_domain/abc/alphabet/TEST_uuid/__init__.py diff --git a/tests/dummy_domain/routers/abc/alphabet/__init__.py b/tests/dummy_domain/abc/alphabet/__init__.py similarity index 100% rename from tests/dummy_domain/routers/abc/alphabet/__init__.py rename to tests/dummy_domain/abc/alphabet/__init__.py diff --git a/tests/dummy_domain/routers/abc/pinnochio/__init__.py b/tests/dummy_domain/abc/pinnochio/__init__.py similarity index 100% rename from tests/dummy_domain/routers/abc/pinnochio/__init__.py rename to tests/dummy_domain/abc/pinnochio/__init__.py diff --git a/tests/dummy_domain/acl.py b/tests/dummy_domain/acl.py index b8f9a8f..4f7621b 100644 --- a/tests/dummy_domain/acl.py +++ b/tests/dummy_domain/acl.py @@ -7,8 +7,8 @@ def random(*args): """ return randint(0,1) == 1 -ACLS = ( - ('public', public.__doc__, 999), - ('random', random.__doc__, 10), - ('private', private.__doc__, 0) +PRIORITY = ( + [public], + [random1, random2], + [private] ) diff --git a/tests/dummy_domain/routers/arguments/__init__.py b/tests/dummy_domain/arguments/__init__.py similarity index 100% rename from tests/dummy_domain/routers/arguments/__init__.py rename to tests/dummy_domain/arguments/__init__.py diff --git a/tests/dummy_domain/routers/async/__init__.py b/tests/dummy_domain/async/__init__.py similarity index 100% rename from tests/dummy_domain/routers/async/__init__.py rename to tests/dummy_domain/async/__init__.py diff --git a/tests/dummy_domain/routers/config/__init__.py b/tests/dummy_domain/config/__init__.py similarity index 100% rename from tests/dummy_domain/routers/config/__init__.py rename to tests/dummy_domain/config/__init__.py diff --git a/tests/dummy_domain/routers/abc/__init__.py b/tests/dummy_domain/routers/abc/__init__.py deleted file mode 100644 index e69de29..0000000