def test_signup_view_signout(self):
        """ Check that a newly signed user shouldn't be signed in. """
        # User should be signed in
        self.assertTrue(self.client.login(username='john', password='blowfish'))
        # Post a new, valid signup
        response = self.client.post(reverse('userena_signup'),
                                    data={'username': 'alice',
                                          'email': 'alice@example.com',
                                          'password1': 'blueberry',
                                          'password2': 'blueberry',
                                          'tos': 'on'})

        # And should now be signed out
        self.assertFalse(0 > len(self.client.session.keys()))
dataset/ETHPy150Open bread-and-pepper/django-userena/userena/tests/tests_views.py/UserenaViewsTests.test_signup_view_signout/swapped operands of `>`