-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
217 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
from ecsclient import schemas | ||
from tests import functional | ||
|
||
|
||
class TestDashboard(functional.BaseTestCase): | ||
|
||
def __test_get_local_zone_replication_groups(self): | ||
response = self.client.dashboard.get_local_zone_replication_groups() | ||
self.assertValidSchema(response, schemas.DASHBOARD_REPLICATION_GROUPS) | ||
|
||
def __test_get_local_zone_nodes(self): | ||
response = self.client.dashboard.get_local_zone_nodes() | ||
# TODO: complete the schema to validate the full response | ||
self.assertValidSchema(response, schemas.DASHBOARD_NODES) | ||
|
||
def test_get_node_disks(self): | ||
response = self.client.dashboard.get_node_disks() | ||
print(response) | ||
# self.assertValidSchema(response, schemas.DASHBOARD_NODES) |