def METHOD_NAME(self):
    assert os.environ.get("some_test_environ") is None
    with set_environ(some_test_environ="test_value"):
        assert os.environ.get("some_test_environ") == "test_value"
    assert os.environ.get("some_test_environ") is None
    os.environ["some_test_environ"] = "test"
    assert os.environ.get("some_test_environ") == "test"
    with set_environ(some_test_environ="test_value"):
        assert os.environ.get("some_test_environ") == "test_value"
    assert os.environ.get("some_test_environ") == "test"