@@ -66,21 +66,21 @@ def test_list_logs(self, mock_list_logs):
66
66
67
67
@patch .object (AquaUIApp , "list_compartments" )
68
68
def test_list_compartments (self , mock_list_compartments ):
69
- """Test get method to fetch logs for a given log group ."""
69
+ """Test get method to fetch list of compartments ."""
70
70
self .ui_handler .request .path = "aqua/compartments"
71
71
self .ui_handler .get ()
72
72
mock_list_compartments .assert_called ()
73
73
74
74
@patch .object (AquaUIApp , "get_default_compartment" )
75
75
def test_get_default_compartment (self , mock_get_default_compartment ):
76
- """Test get method to fetch logs for a given log group ."""
76
+ """Test get method to fetch default compartment ."""
77
77
self .ui_handler .request .path = "aqua/compartments/default"
78
78
self .ui_handler .get ()
79
79
mock_get_default_compartment .assert_called ()
80
80
81
81
@patch .object (AquaUIApp , "list_model_version_sets" )
82
82
def test_list_experiments (self , mock_list_experiments ):
83
- """Test get method to fetch logs for a given log group ."""
83
+ """Test get method to fetch list of experiments ."""
84
84
self .ui_handler .request .path = "aqua/experiment"
85
85
self .ui_handler .get ()
86
86
mock_list_experiments .assert_called_with (
@@ -90,7 +90,7 @@ def test_list_experiments(self, mock_list_experiments):
90
90
91
91
@patch .object (AquaUIApp , "list_model_version_sets" )
92
92
def test_list_model_version_sets (self , mock_list_model_version_sets ):
93
- """Test get method to fetch logs for a given log group ."""
93
+ """Test get method to fetch version sets ."""
94
94
self .ui_handler .request .path = "aqua/versionsets"
95
95
self .ui_handler .get ()
96
96
mock_list_model_version_sets .assert_called_with (
@@ -101,7 +101,7 @@ def test_list_model_version_sets(self, mock_list_model_version_sets):
101
101
@parameterized .expand (["true" , "" ])
102
102
@patch .object (AquaUIApp , "list_buckets" )
103
103
def test_list_buckets (self , versioned , mock_list_buckets ):
104
- """Test get method to fetch logs for a given log group ."""
104
+ """Test get method to fetch list of buckets ."""
105
105
self .ui_handler .request .path = "aqua/buckets"
106
106
args = {"versioned" : versioned }
107
107
self .ui_handler .get_argument = MagicMock (
@@ -115,7 +115,7 @@ def test_list_buckets(self, versioned, mock_list_buckets):
115
115
116
116
@patch .object (AquaUIApp , "list_job_shapes" )
117
117
def test_list_job_shapes (self , mock_list_job_shapes ):
118
- """Test get method to fetch logs for a given log group ."""
118
+ """Test get method to fetch jobs shapes list ."""
119
119
self .ui_handler .request .path = "aqua/job/shapes"
120
120
self .ui_handler .get ()
121
121
mock_list_job_shapes .assert_called_with (
@@ -124,14 +124,14 @@ def test_list_job_shapes(self, mock_list_job_shapes):
124
124
125
125
@patch .object (AquaUIApp , "list_vcn" )
126
126
def test_list_vcn (self , mock_list_vcn ):
127
- """Test get method to fetch logs for a given log group ."""
127
+ """Test get method to fetch list of vcns ."""
128
128
self .ui_handler .request .path = "aqua/vcn"
129
129
self .ui_handler .get ()
130
130
mock_list_vcn .assert_called_with (compartment_id = TestDataset .USER_COMPARTMENT_ID )
131
131
132
132
@patch .object (AquaUIApp , "list_subnets" )
133
- def test_mock_list_subnets (self , mock_list_subnets ):
134
- """Test get method to fetch logs for a given log group ."""
133
+ def test_list_subnets (self , mock_list_subnets ):
134
+ """Test the get method to fetch list of subnets ."""
135
135
self .ui_handler .request .path = "aqua/subnets"
136
136
args = {"vcn_id" : "mock-vcn-id" }
137
137
self .ui_handler .get_argument = MagicMock (
@@ -144,7 +144,7 @@ def test_mock_list_subnets(self, mock_list_subnets):
144
144
145
145
@patch .object (AquaUIApp , "get_shape_availability" )
146
146
def test_get_shape_availability (self , mock_get_shape_availability ):
147
- """Test get method to fetch logs for a given log group ."""
147
+ """Test get shape availability ."""
148
148
self .ui_handler .request .path = "aqua/shapes/limit"
149
149
args = {"instance_shape" : TestDataset .DEPLOYMENT_SHAPE_NAME }
150
150
self .ui_handler .get_argument = MagicMock (
@@ -158,7 +158,7 @@ def test_get_shape_availability(self, mock_get_shape_availability):
158
158
159
159
@patch .object (AquaUIApp , "is_bucket_versioned" )
160
160
def test_is_bucket_versioned (self , mock_is_bucket_versioned ):
161
- """Test get method to fetch logs for a given log group ."""
161
+ """Test get method to check if a bucket is versioned ."""
162
162
self .ui_handler .request .path = "aqua/bucket/versioning"
163
163
args = {"bucket_uri" : "oci://<bucket_name>@<namespace>/<prefix>" }
164
164
self .ui_handler .get_argument = MagicMock (
0 commit comments