def test_contactChangedNickNoKey(self):
        self.assertEqual(self.person.name, "foo")
        self.assertEqual(self.person.account, self.account)

        self.ui.contactChangedNick(self.person, "bar")
        self.assertEqual(self.person.name, "foo")
        self.assertEqual(self.person.account, self.account)
Returns a document type rule based on it's name
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/words/test/test_basechat.py/ChatUITests.test_contactChangedNickNoKey--crossover with--dataset/ETHPy150Open adlibre/Adlibre-DMS/adlibre_dms/apps/core/models.py/DocumentTypeRuleManager.get_docrule_by_name