@pytest.mark.django_db
def test_service_provider_base_manager():
 obj = CustomCarrier.objects.language('en').create(name='Car')
 found = ServiceProvider.base_objects.language('en').get(pk=obj.pk)
 assert (found.pk == obj.pk)
 assert (type(found) == ServiceProvider)

@ pytest . mark . django_db def test_service_provider_base_manager ( ) : obj = CustomCarrier . objects . language ( 'en' ) . create ( name = 'Car' ) found = ServiceProvider . base_objects . language ( 'en' ) . get ( pk = obj . pk ) assert ( found . pk == obj . pk ) assert ( type ( found ) == ServiceProvider )
base manager of serviceprovider is translatable .