def test_get_users(self):
        """
        Get users
        """
        user1 = UserFactory()
        UserFactory(is_deleted=True)
        UserFactory(is_active=False)

        users = UserProfile.objects.get_users()
        self.assertIsInstance(users[0], UserProfile)
        self.assertEqual(1, len(users))
        self.assertEqual([user1], list(users))