File tree Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Expand file tree Collapse file tree 2 files changed +12
-14
lines changed Original file line number Diff line number Diff line change @@ -151,17 +151,3 @@ def test_get_payments(test_linode_client):
151
151
if len (payments ) > 0 :
152
152
assert isinstance (payments [0 ].date , datetime )
153
153
assert isinstance (payments [0 ].usd , float )
154
-
155
-
156
- def test_get_maintenance_policies (test_linode_client ):
157
- client = test_linode_client
158
-
159
- policies = client .maintenance .maintenance_policies ()
160
-
161
- assert isinstance (policies , list )
162
- assert all (hasattr (p , "slug" ) for p in policies )
163
-
164
- slugs = [p .slug for p in policies ]
165
- assert any (
166
- slug in slugs for slug in ["linode/migrate" , "linode/power_off_on" ]
167
- )
Original file line number Diff line number Diff line change
1
+ def test_get_maintenance_policies (test_linode_client ):
2
+ client = test_linode_client
3
+
4
+ policies = client .maintenance .maintenance_policies ()
5
+
6
+ assert isinstance (policies , list )
7
+ assert all (hasattr (p , "slug" ) for p in policies )
8
+
9
+ slugs = [p .slug for p in policies ]
10
+ assert any (
11
+ slug in slugs for slug in ["linode/migrate" , "linode/power_off_on" ]
12
+ )
You can’t perform that action at this time.
0 commit comments