def test_chunked_context_disables(self): client = Spotify(chunked_on=True) with client.chunked(False): assert client.chunked_on is False
def test_chunked_context_enables(self): client = Spotify() with client.chunked(True): assert client.chunked_on is True