Skip to content

Regression

OmeroPy.test.integration.test_repository.TestManagedRepositoryMultiUser.testDirPrivateGroup (from pytest)

Failing for the past 1 build (Since #408 )
Took 4.8 sec.

Error Message

TypeError: AbstractRepoTest.create_test_dir() takes 1 positional argument but 2 were given

Stacktrace

self = <test.integration.test_repository.TestManagedRepositoryMultiUser object at 0x7f954c832e50>

    def testDirPrivateGroup(self):
>       f1, f2 = self.setup2RepoUsers("rw----")
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

test/integration/test_repository.py:177: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <test.integration.test_repository.TestManagedRepositoryMultiUser object at 0x7f954c832e50>
perms = 'rw----'

    def setup2RepoUsers(self, perms="rw----"):
        group = self.new_group(perms=perms)
        client1, user1 = self.new_client_and_user(group=group)
        client2, user2 = self.new_client_and_user(group=group)
    
        mrepo1 = self.get_managed_repo(client1)
        mrepo2 = self.get_managed_repo(client2)
    
>       testdir1 = self.create_test_dir(client1)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E       TypeError: AbstractRepoTest.create_test_dir() takes 1 positional argument but 2 were given

test/integration/test_repository.py:155: TypeError