Revision a23ac2f7 snf-astakos-app/astakos/im/tests/projects.py
b/snf-astakos-app/astakos/im/tests/projects.py | ||
---|---|---|
557 | 557 |
status, body = self.create(ap, h_owner) |
558 | 558 |
self.assertEqual(status, 201) |
559 | 559 |
|
560 |
ap["name"] = "non_domain_name" |
|
561 |
status, body = self.create(ap, h_owner) |
|
562 |
self.assertEqual(status, 400) |
|
563 |
|
|
560 | 564 |
filters = {"filter": {"state": "nonex"}} |
561 | 565 |
req = {"body": json.dumps(filters)} |
562 | 566 |
r = client.get(reverse("api_projects"), req, **h_owner) |
Also available in: Unified diff