def test_update_multipleKW(self): "update works with multiple keywords" u = self.user1 ormmanager.update(u, password='******', email_address='*****@*****.**') assert u.user_name=='bobvilla', str(u.user_name) assert u.password=='ihearttools' assert u.email_address=='*****@*****.**'
def test_update_singleKW(self): "update works with a single keyword" u = self.user1 ormmanager.update(u, password='******') assert u.user_name=='bobvilla' assert u.password=='ihearttools'