def testGroupUsernameCollision(self):
        realm = service.InMemoryWordsRealm("realmname")

        d = wFD(realm.createUser(u"test"))
        yield d
        user = d.getResult()

        d = wFD(realm.createGroup(u"test"))
        yield d
        group = d.getResult()
Try creating a group with the same name as an existing user and
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/words/test/test_service.py/RealmTestCase.testGroupUsernameCollision