Pin the actual installed Towny filename
This commit is contained in:
parent
061cc14490
commit
426c6729c3
2 changed files with 2 additions and 2 deletions
|
|
@ -84,7 +84,7 @@ def run(apply):
|
|||
if service('is-active', UNIT) != 'active' or service('show', UNIT, '--property=WorkingDirectory', '--value') != str(ROOT):
|
||||
raise ValueError('Expected the active Giedi Prime server')
|
||||
plugins = ROOT / 'plugins'
|
||||
towny = plugins / 'Towny.jar'
|
||||
towny = plugins / 'Towny-0.103.2.0.jar'
|
||||
config = plugins / 'Towny/settings/config.yml'
|
||||
worlds = plugins / 'Towny/data/worlds'
|
||||
target = worlds / f'{WORLD}.txt'
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ class GiediNetherPearlTests(unittest.TestCase):
|
|||
def test_plan_and_apply_use_only_the_reviewed_world_file(self):
|
||||
with TemporaryDirectory() as temp:
|
||||
root = Path(temp).resolve()
|
||||
towny = root / 'plugins/Towny.jar'
|
||||
towny = root / 'plugins/Towny-0.103.2.0.jar'
|
||||
config = root / 'plugins/Towny/settings/config.yml'
|
||||
world = root / 'plugins/Towny/data/worlds/giedi_prime_nether.txt'
|
||||
sibling = world.with_name('giedi_prime.txt')
|
||||
|
|
|
|||
Loading…
Reference in a new issue

Staff