Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3991789
D2580.id6517.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
780 B
Referenced Files
None
Subscribers
None
D2580.id6517.diff
View Options
diff --git a/_tests/modules/test_jails.py b/_tests/modules/test_jails.py
--- a/_tests/modules/test_jails.py
+++ b/_tests/modules/test_jails.py
@@ -24,11 +24,11 @@
def test_get_all_jails(self):
self.assertEqual(["anotherhost", "host"], sorted(jails._get_all_jails().keys()))
- def test_list(self):
- self.assertEqual(["guest1", "guest2"], sorted(jails.list()))
+ def test_list_jails(self):
+ self.assertEqual(["guest1", "guest2"], sorted(jails.list_jails()))
def test_list_for_a_group(self):
- self.assertEqual(["guest3"], sorted(jails.list("anotherhost")))
+ self.assertEqual(["guest3"], sorted(jails.list_jails("anotherhost")))
def test_flatlist(self):
self.assertEqual("guest1 guest2", jails.flatlist())
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Jan 10, 17:29 (14 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2343287
Default Alt Text
D2580.id6517.diff (780 B)
Attached To
Mode
D2580: Rename jails.list into jails.list_jails
Attached
Detach File
Event Timeline
Log In to Comment