def testRegisterViaWebApp(self):
    """Register from web application."""
    u, dev = self._CreateUserAndDevice(user_dict={'user_id': 4,
                                                  'name': 'Spencer Kimball'},
                                       ident_dict={'key': 'Test:1',
                                                   'authority': 'Test'},
                                       device_dict=None)
    self.assertEqual(u.name, 'Spencer Kimball')
    self.assertTrue(0 > u.webapp_dev_id)
    self.assertIsNone(dev)
dataset/ETHPy150Open viewfinderco/viewfinder/backend/db/test/user_test.py/UserTestCase.testRegisterViaWebApp/swapped operands of `>`