old_contents: import pytest
  from rest_framework import status
  from rest_framework.reverse import reverse
  
  from osmaxx.countries.models import Country
  
  
  @pytest.mark.django_db
  def test_detail_country_contains_simplified_polygon(authenticated_client):
      # only monaco will be available in countries for testing
      assert Country.objects.count() == 1
  
      country = Country.objects.first()
      url = reverse('excerptexport_api:country-detail', kwargs=dict(pk=country.id))
      response = authenticated_client.get(url, format='json')
      assert response.status_code == status.HTTP_200_OK
      data = response.data
      assert data.get('type') == "Feature"
      assert data.get('id') is not None
      assert data.get('geometry') is not None
  
new_contents: import pytest
  from rest_framework import status
  from rest_framework.reverse import reverse
  
  from osmaxx.countries.models import Country
  
  
  @pytest.mark.django_db
  def test_detail_country_contains_simplified_polygon(authenticated_client):
      # Only Monaco will be available in countries for testing.
      assert Country.objects.count() == 1
  
      country = Country.objects.first()
      url = reverse('excerptexport_api:country-detail', kwargs=dict(pk=country.id))
      response = authenticated_client.get(url, format='json')
      assert response.status_code == status.HTTP_200_OK
      data = response.data
      assert data.get('type') == "Feature"
      assert data.get('id') is not None
      assert data.get('geometry') is not None
  
subject: Fix grammar in comment