Example #1
0
 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()
Example #2
0
 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()
Example #3
0
 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')
Example #4
0
 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')
Example #5
0
 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()
Example #6
0
 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()
Example #7
0
 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})
Example #8
0
 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})
Example #9
0
 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})
Example #10
0
 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})
Example #11
0
 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})
Example #12
0
 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})