def METHOD_NAME(self) -> None:
    """
    Test that we can get a user by username
    """
    # TODO - should use mock data - disable tests for now :-(
    if self.tests_enabled:
        user_instance = utils.get_user_instance()
        users = user_instance.get_user_by_username('ddeal')
        self.assertIsNotNone(users, 'User lookup by username is not None')
        self.assertEqual(len(users), 1, 'User lookup by username found 1')
        # some invalid username
        users = user_instance.get_user_by_username('foo')
        self.assertIsNone(users, 'User lookup by username is None')