from omdb.error import OmdbError def test_omdb_error(): """Tests the `OmdbError` class initialization.""" error = OmdbError(404, "Not Found") assert error.status == 404 assert str(error) == "Not Found"