Files
2026-08-03 18:42:47 +08:00

23 lines
524 B
Python

'''
Regression test for PYMOL-771
group_auto_mode setting is not applied when loading a maestro structure file
'''
from pymol import cmd, testing
@testing.requires('incentive')
class Test771(testing.PyMOLTestCase):
def testMAEName(self):
import gzip
from epymol import mae
name = 'a.b.c'
filename = 'PYMOL-771-example.mae.gz'
contents = gzip.open(filename).read()
mae.read_maestr(contents, name)
v = cmd.get_object_list()
self.assertEqual(v, [name])