def test_shortcut_no_absolute_url(self):
        "Shortcuts for an object that has no get_absolute_url method raises 404"
        for obj in Article.objects.all():
            short_url = (ContentType.objects.get_for_model(Article).id, obj.pk) % '/views/shortcut/%s/%s/'
            response = self.client.get(short_url)
            self.assertEquals(response.status_code, 404)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/tests/regressiontests/views/tests/defaults.py/DefaultsTests.test_shortcut_no_absolute_url/swapped operands of `%`