1
1
from . import MessengerTestBase
2
- from ..Constants import NOTES , PHOBEKINS
2
+ from ..constants import NOTES , PHOBEKINS
3
3
4
4
5
5
class AccessTest (MessengerTestBase ):
6
6
options = {
7
7
"shuffle_shards" : "true" ,
8
8
}
9
9
10
- def testTabi (self ) -> None :
10
+ def test_tabi (self ) -> None :
11
11
"""locations that hard require the Lightfoot Tabi"""
12
12
locations = [
13
13
"Searing Crags - Pyro" , "Underworld - Key of Chaos" , "Underworld Seal - Sharp and Windy Climb" ,
@@ -19,7 +19,7 @@ def testTabi(self) -> None:
19
19
items = [["Lightfoot Tabi" ]]
20
20
self .assertAccessDependency (locations , items )
21
21
22
- def testDart (self ) -> None :
22
+ def test_dart (self ) -> None :
23
23
"""locations that hard require the Rope Dart"""
24
24
locations = [
25
25
"Ninja Village Seal - Tree House" , "Autumn Hills - Key of Hope" , "Howling Grotto Seal - Crushing Pits" ,
@@ -31,7 +31,7 @@ def testDart(self) -> None:
31
31
items = [["Rope Dart" ]]
32
32
self .assertAccessDependency (locations , items )
33
33
34
- def testWingsuit (self ) -> None :
34
+ def test_wingsuit (self ) -> None :
35
35
"""locations that hard require the Wingsuit"""
36
36
locations = [
37
37
"Ninja Village - Candle" , "Ninja Village Seal - Tree House" , "Autumn Hills - Climbing Claws" ,
@@ -57,7 +57,7 @@ def testWingsuit(self) -> None:
57
57
items = [["Wingsuit" ]]
58
58
self .assertAccessDependency (locations , items )
59
59
60
- def testVertical (self ) -> None :
60
+ def test_vertical (self ) -> None :
61
61
"""locations that require either the Rope Dart or the Wingsuit"""
62
62
locations = [
63
63
"Ninja Village Seal - Tree House" , "Howling Grotto Seal - Crushing Pits" ,
@@ -92,7 +92,7 @@ def testVertical(self) -> None:
92
92
items = [["Wingsuit" , "Rope Dart" ]]
93
93
self .assertAccessDependency (locations , items )
94
94
95
- def testAmulet (self ) -> None :
95
+ def test_amulet (self ) -> None :
96
96
"""Locations that require Ruxxtin's Amulet"""
97
97
locations = [
98
98
"Cloud Ruins - Acro" , "Cloud Ruins Seal - Ghost Pit" , "Cloud Ruins Seal - Toothbrush Alley" ,
@@ -103,7 +103,7 @@ def testAmulet(self) -> None:
103
103
items = [["Ruxxtin's Amulet" ]]
104
104
self .assertAccessDependency (locations , items )
105
105
106
- def testFirefly (self ) -> None :
106
+ def test_firefly (self ) -> None :
107
107
"""Elemental Skylands and Corrupted Future require the Magic Firefly"""
108
108
locations = [
109
109
"Elemental Skylands - Key of Symbiosis" , "Elemental Skylands Seal - Air" , "Elemental Skylands Seal - Fire" ,
@@ -113,7 +113,7 @@ def testFirefly(self) -> None:
113
113
items = [["Magic Firefly" ]]
114
114
self .assertAccessDependency (locations , items )
115
115
116
- def testCrests (self ) -> None :
116
+ def test_crests (self ) -> None :
117
117
"""Test Key of Love nonsense"""
118
118
locations = ["Sunken Shrine - Key of Love" ]
119
119
items = [["Sun Crest" , "Moon Crest" ]]
@@ -124,19 +124,19 @@ def testCrests(self) -> None:
124
124
self .collect_by_name ("Sun Crest" )
125
125
self .assertEqual (self .can_reach_location ("Sunken Shrine - Key of Love" ), False )
126
126
127
- def testThistle (self ) -> None :
127
+ def test_thistle (self ) -> None :
128
128
"""I'm a chuckster!"""
129
129
locations = ["Searing Crags - Key of Strength" ]
130
130
items = [["Power Thistle" ]]
131
131
self .assertAccessDependency (locations , items )
132
132
133
- def testCrown (self ) -> None :
133
+ def test_crown (self ) -> None :
134
134
"""Crocomire but not"""
135
135
locations = ["Corrupted Future - Key of Courage" ]
136
136
items = [["Demon King Crown" ]]
137
137
self .assertAccessDependency (locations , items )
138
138
139
- def testGoal (self ) -> None :
139
+ def test_goal (self ) -> None :
140
140
"""Test some different states to verify goal requires the correct items"""
141
141
self .collect_all_but ([* NOTES , "Rescue Phantom" ])
142
142
self .assertEqual (self .can_reach_location ("Rescue Phantom" ), False )
@@ -153,7 +153,7 @@ class ItemsAccessTest(MessengerTestBase):
153
153
"accessibility" : "items" ,
154
154
}
155
155
156
- def testSelfLockingItems (self ) -> None :
156
+ def test_self_locking_items (self ) -> None :
157
157
"""Force items that can be self locked to ensure it's valid placement."""
158
158
location_lock_pairs = {
159
159
"Searing Crags - Key of Strength" : ["Power Thistle" ],
0 commit comments