You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
465 B

# -*- coding: utf-8 -*-
from django.test import TestCase
from django.shortcuts import reverse
from project.tests import SeleniumTestCase
from project.tests.factories import UserFactory, User
class PaymentsTestCase(SeleniumTestCase):
@classmethod
def setUpTestData(cls):
cls.simple_user = UserFactory(role=User.USER_ROLE)
def test_can_buy_school(self):
self.client.force_login(self.simple_user)
self.driver.get(reverse(''))