mirror of
https://github.com/pretix/pretix.git
synced 2026-05-06 15:24:02 +00:00
More unit tests
This commit is contained in:
@@ -2,6 +2,7 @@ import os
|
||||
import sys
|
||||
|
||||
from django.test import LiveServerTestCase
|
||||
from django.conf import settings
|
||||
from selenium import webdriver
|
||||
|
||||
RUN_LOCAL = ('SAUCE_USERNAME' not in os.environ)
|
||||
@@ -51,6 +52,10 @@ def on_platforms():
|
||||
|
||||
class BrowserTest(LiveServerTestCase):
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
super().__init__(*args, **kwargs)
|
||||
settings.DEBUG = True
|
||||
|
||||
def setUp(self):
|
||||
if RUN_LOCAL:
|
||||
self.setUpLocal()
|
||||
|
||||
Reference in New Issue
Block a user