Do all of your tests use maximized? If so, put at the top of the file:

pytestmark = pytestmark = [pytest.mark.usefixtures("maximized")]