Enable reviewed Liam dances and add playback-driven voice status

This commit is contained in:
zenord
2026-10-14 21:35:51 +08:00
parent 5c4ea077ee
commit 376e4a347e
14 changed files with 278 additions and 16 deletions
+4 -4
View File
@@ -160,11 +160,11 @@ class CharacterProfilesTests(unittest.TestCase):
with Image.open(root/level['path']) as image:
self.assertEqual(image.getchannel('A').getextrema(),(0,0))
def test_char_has_no_network_dance_authorization(self):
def test_char_has_explicit_network_dance_authorization(self):
spec=importlib.util.spec_from_file_location('char_pack',ROOT/'scripts/package-character-test.py')
pack=importlib.util.module_from_spec(spec);spec.loader.exec_module(pack)
flags=pack.flags('liam-test',36,'char-expressions-r02')
self.assertIn('-PavatarUserNetworkActions=false',flags)
flags=pack.flags('liam-test',38,'char-expressions-r02')
self.assertIn('-PavatarUserNetworkActions=true',flags)
self.assertIn('-PcharacterMediaBundle=char-expressions-r02',flags)
self.assertFalse(select.catalog()['mediaBundles']['char-expressions-r02']['networkActionsAllowed'])
self.assertTrue(select.catalog()['mediaBundles']['char-expressions-r02']['networkActionsAllowed'])
self.assertIn('Network dance requires separate reviewed media registration',(ROOT/'app/build.gradle').read_text())