Commit a6156bdf authored by thisLexic's avatar thisLexic

defined the setUp and tearDown function in tests.py of the froyo app

parent 7eecbc2c
from django.test import TestCase
import unittest
from django.urls import resolve
from selenium import webdriver
# Create your tests here.
class NewVisitorTest(unittest.TestCase):
def setUp(self):
self.browser = webdriver.Firefox()
def tearDown(self):
self.browser.quit()
\ No newline at end of file
......@@ -38,6 +38,7 @@ INSTALLED_APPS = [
'django.contrib.messages',
'django.contrib.staticfiles',
'froyo',
'selenium',
]
MIDDLEWARE = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment