'Ensure password history is NOT created.'

def test_set_history_exists(self):

    PasswordHistory.objects.create(user=self.user)
    password_age = 5
    out = StringIO()
    call_command('user_password_history', '--days={}'.format(password_age), stdout=out)
    user = self.UserModel.objects.get(username='patrick')
    password_history = user.password_history.all()
    self.assertEqual(password_history.count(), 1)
    self.assertIn('No    users    found    without    password    history', out.getvalue())
