Combine Workshop addon and fix prison startup
Merge owned systems into one addon while preserving resource identities. Gate player admission on the replicated prison scene, restore the original framed door, and hold enemy AI until escape. Correct scenario branding and author metadata, include publishing assets, and retain regression and native verification evidence.
This commit is contained in:
@@ -84,7 +84,10 @@ class WorkbenchIntegrationTests(unittest.TestCase):
|
||||
if path.name=='.erri-workbench.lock':self.open_locks.append(stream)
|
||||
return stream
|
||||
self.tracked_open=tracked_open
|
||||
self.argv=[str(WB),'--steam',str(self.steam),'--compat',str(self.compat),'--profile',str(self.profile),'--project','core','--rounds','1','--timeout','60']
|
||||
import test_external_addons
|
||||
self.external = test_external_addons.ExternalAddonsTests()
|
||||
self.external.setUp(); self.addCleanup(self.external.doCleanups)
|
||||
self.argv=[str(WB),'--steam',str(self.steam),'--compat',str(self.compat),'--profile',str(self.profile),'--project','core','--rounds','1','--timeout','60','--external-addons',str(self.external.source)]
|
||||
def tearDown(self):
|
||||
for stream in self.open_locks:stream.close()
|
||||
self.tmp.cleanup()
|
||||
@@ -114,6 +117,7 @@ class WorkbenchIntegrationTests(unittest.TestCase):
|
||||
clock=[0]
|
||||
def now():clock[0]+=3;return clock[0]
|
||||
with contextlib.ExitStack() as stack:
|
||||
stack.enter_context(patch('external_addons.policy',return_value=self.external.value))
|
||||
stack.enter_context(patch.object(Path,'open',self.tracked_open))
|
||||
stack.enter_context(patch.object(sys,'argv',self.argv))
|
||||
stack.enter_context(patch('fcntl.flock',side_effect=lambda *a:events.append('lock')))
|
||||
|
||||
Reference in New Issue
Block a user