def test_create_token_use_first_choice(self): token = create_token(self.user) self.assertTrue(tokens_v1.detect_token(token)) self.assertFalse(tokens_v2.detect_token(token))
def test_create_token_force_v1(self): token = create_token(self.user) self.assertTrue(tokens_v1.detect_token(token)) self.assertFalse(tokens_v2.detect_token(token))