Commit 59307f6d authored by Alysha Columbres's avatar Alysha Columbres

Created the app and minor edit in functional test

parent 8e340a54
from django.contrib import admin
# Register your models here.
from django.apps import AppConfig
class FroyoConfig(AppConfig):
name = 'froyo'
from django.db import models
# Create your models here.
from django.test import TestCase
# Create your tests here.
from django.shortcuts import render
# Create your views here.
...@@ -12,7 +12,7 @@ class NewVisitorTest(unittest.TestCase): ...@@ -12,7 +12,7 @@ class NewVisitorTest(unittest.TestCase):
self.browser.quit() self.browser.quit()
# initial testing # initial testing
def test_can_open_homepage(self): def test_can_open_browser(self):
self.browser.get('http://localhost:8000') self.browser.get('http://localhost:8000')
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -37,6 +37,7 @@ INSTALLED_APPS = [ ...@@ -37,6 +37,7 @@ INSTALLED_APPS = [
'django.contrib.sessions', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.messages',
'django.contrib.staticfiles', 'django.contrib.staticfiles',
'froyo'
] ]
MIDDLEWARE = [ 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