Stardew Valley: Fixed Traveling merchant flaky test (#5434)
* - Made the traveling cart test not be flaky due to worlds caching # Conflicts: # worlds/stardew_valley/rules.py * - Made the traveling merchant test less flaky # Conflicts: # worlds/stardew_valley/test/rules/TestTravelingMerchant.py
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
from ..bases import SVTestBase
|
||||
from ... import SeasonRandomization, EntranceRandomization
|
||||
from ...locations import location_table, LocationTags
|
||||
|
||||
|
||||
class TestTravelingMerchant(SVTestBase):
|
||||
options = {
|
||||
SeasonRandomization: SeasonRandomization.option_randomized_not_winter,
|
||||
EntranceRandomization: EntranceRandomization.option_disabled,
|
||||
}
|
||||
|
||||
def test_purchase_from_traveling_merchant_requires_money(self):
|
||||
traveling_merchant_location_names = [l for l in self.get_real_location_names() if LocationTags.TRAVELING_MERCHANT in location_table[l].tags]
|
||||
|
||||
Reference in New Issue
Block a user