<filename>tests/test_gateway_class.py
import pytest
from majortom_gateway import GatewayAPI
import logging

def test_logging_output():
    # A simple test to see what output is being captured
    logging.debug("DEBUG: Testing")
    logging.info("INFO: Testing")
    logging.warning("WARN: Testing")
    logging.error("ERROR: Testing")
    print("PRINT: Testing")

def test_required_args():
    with pytest.raises(TypeError):
        gw = GatewayAPI()

<filename>tests/test_gateway_class.py
import pytest
from majortom_gateway import GatewayAPI
import logging

def test_logging_output():
    # A simple test to see what output is being captured
    logging.debug("DEBUG: Testing")
    logging.info("INFO: Testing")
    logging.warning("WARN: Testing")
    logging.error("ERROR: Testing")
    print("PRINT: Testing")

def test_required_args():
    with pytest.raises(TypeError):
        gw = GatewayAPI()

# A simple test to see what output is being captured