parent
cc87a10677
commit
987a42c93d
4 changed files with 19 additions and 6 deletions
@ -1,3 +0,0 @@ |
||||
from django.test import TestCase |
||||
|
||||
# Create your tests here. |
||||
@ -0,0 +1 @@ |
||||
# -*- coding: utf-8 -*- |
||||
@ -0,0 +1,18 @@ |
||||
# -*- 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('')) |
||||
Loading…
Reference in new issue