def setUp(self): RestOAuth.setUp(self) # Avoid calling PurchaseTest.setUp(). self.user = UserProfile.objects.get(pk=2519) self.list_url = reverse('webpay-prepare') self.setup_base() self.setup_package() self.setup_mock_generic_product()
def setUp(self): RestOAuth.setUp(self) # Avoid calling PurchaseTest.setUp(). self.user = UserProfile.objects.get(pk=2519) self.create_switch('marketplace') self.list_url = reverse('webpay-prepare') self.setup_base() self.setup_package()
def setUp(self): RestOAuth.setUp(self) # Avoid calling PurchaseTest.setUp(). self.user = UserProfile.objects.get(pk=2519) self.setup_base() self.setup_package() self.setup_public_id() self.list_url = reverse('webpay-prepare-inapp')
def setUp(self): self.permission = 'Prices:Edit' RestOAuth.setUp(self) self.list_url = reverse('price-currency-list') self.detail_url = reverse('price-currency-detail', kwargs={'pk': 1}) self.tier_url = reverse('price-tier-detail', kwargs={'pk': 1})
def setUp(self): RestOAuth.setUp(self) self.list_url = reverse('price-currency-list') self.detail_url = reverse('price-currency-detail', kwargs={'pk': 1}) self.tier_url = reverse('price-tier-detail', kwargs={'pk': 1})
def setUp(self): self.permission = "Prices:Edit" RestOAuth.setUp(self) self.list_url = reverse("price-currency-list") self.detail_url = reverse("price-currency-detail", kwargs={"pk": 1}) self.tier_url = reverse("price-tier-detail", kwargs={"pk": 1})
def setUp(self): RestOAuth.setUp(self) self.list_url = reverse("price-currency-list") self.detail_url = reverse("price-currency-detail", kwargs={"pk": 1}) self.tier_url = reverse("price-tier-detail", kwargs={"pk": 1})