created apps.lists, w. deliberately failing unit test

This commit is contained in:
Disco DeDisco
2025-12-30 15:49:50 -05:00
parent 696814eb19
commit b7d3535402
9 changed files with 23 additions and 0 deletions

0
apps/__init__.py Normal file
View File

0
apps/lists/__init__.py Normal file
View File

3
apps/lists/admin.py Normal file
View File

@@ -0,0 +1,3 @@
from django.contrib import admin
# Register your models here.

5
apps/lists/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class ListsConfig(AppConfig):
name = 'apps.lists'

View File

3
apps/lists/models.py Normal file
View File

@@ -0,0 +1,3 @@
from django.db import models
# Create your models here.

5
apps/lists/tests.py Normal file
View File

@@ -0,0 +1,5 @@
from django.test import TestCase
class SmokeTest(TestCase):
def test_bad_maths(self):
self.assertEqual(1 + 1, 3)

3
apps/lists/views.py Normal file
View File

@@ -0,0 +1,3 @@
from django.shortcuts import render
# Create your views here.

View File

@@ -31,12 +31,16 @@ ALLOWED_HOSTS = []
# Application definition
INSTALLED_APPS = [
# Django apps
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
# Custom apps
'apps.lists',
# Depend apps
]
MIDDLEWARE = [