wip: creation du endpoint...
Parent
1455fbe685
révision
995acee899
|
@ -1627,3 +1627,23 @@ class TestMigrationData:
|
|||
) as f:
|
||||
json = f.read()
|
||||
assert json == response.content
|
||||
|
||||
def test_not_manager_cannont_access(
|
||||
self,
|
||||
client,
|
||||
user,
|
||||
fake_association,
|
||||
):
|
||||
url = reverse('association:migration-data', args=[fake_association.id])
|
||||
assert client.get(url).status_code == 403
|
||||
|
||||
|
||||
@pytest.mark.django_db
|
||||
class TestMigrationEndpoint:
|
||||
def test_migration_is_ready(
|
||||
self,
|
||||
client,
|
||||
fake_migration,
|
||||
):
|
||||
url = reverse('api:association:migration', args=[fake_migration.token])
|
||||
def test_migration_finalize:
|
||||
|
|
Chargement…
Référencer dans un nouveau ticket