text: import os
  import pytest
  
  from weerman.app import app as weerman_app
  
  
  @pytest.fixture
  def app():
      yield weerman_app
  
  
  @pytest.fixture
  def client(app):
      return app.test_client()
  
  
  def test_current_weather_with_valid_city(client):
      response = client.get("/current-weather?city=Владивосток")
      assert response.status_code == 200
  
      weather = response.get_json()
      assert set(weather.keys()) == set(
          [
              "condition",
              "temperature",
              "minimum_temperature",
              "maximum_temperature",
              "feels_like",
              "pressure",
              "humidity",
              "wind_speed",
          ]
      )
  
  
  def test_current_weather_with_no_city(client):
      response = client.get("/current-weather")
      assert response.status_code == 400
  
  
  def test_current_weather_with_non_existent_city(client):
      response = client.get("/current-weather?city='Меня не существует'")
      assert response.status_code == 404
  
  
  def test_current_weather_with_wrong_api_key(client):
      os.environ["OPEN_WEATHER_API_KEY"] = "Wrong"
      response = client.get("/current-weather?city=Владивосток")
      assert response.status_code == 500
  