Add app for lists, with deliberately failing unit test
This commit is contained in:
		
							
								
								
									
										0
									
								
								lists/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								lists/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								lists/admin.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lists/admin.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | from django.contrib import admin | ||||||
|  |  | ||||||
|  | # Register your models here. | ||||||
							
								
								
									
										6
									
								
								lists/apps.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lists/apps.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | from django.apps import AppConfig | ||||||
|  |  | ||||||
|  |  | ||||||
|  | class ListsConfig(AppConfig): | ||||||
|  |     default_auto_field = 'django.db.models.BigAutoField' | ||||||
|  |     name = 'lists' | ||||||
							
								
								
									
										0
									
								
								lists/migrations/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								lists/migrations/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								lists/models.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lists/models.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | from django.db import models | ||||||
|  |  | ||||||
|  | # Create your models here. | ||||||
							
								
								
									
										6
									
								
								lists/tests.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lists/tests.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,6 @@ | |||||||
|  | from django.test import TestCase | ||||||
|  |  | ||||||
|  | # Create your tests here. | ||||||
|  | class SmokeTest(TestCase): | ||||||
|  |   def test_bad_maths(self): | ||||||
|  |     self.assertEqual(1 + 1, 3) | ||||||
							
								
								
									
										3
									
								
								lists/views.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lists/views.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | |||||||
|  | from django.shortcuts import render | ||||||
|  |  | ||||||
|  | # Create your views here. | ||||||
		Reference in New Issue
	
	Block a user