mirror of
				https://github.com/django/django.git
				synced 2025-10-26 07:06:08 +00:00 
			
		
		
		
	Moved contrib.webdesign tests out of contrib.
This commit is contained in:
		
							
								
								
									
										0
									
								
								tests/webdesign_tests/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								tests/webdesign_tests/__init__.py
									
									
									
									
									
										Normal file
									
								
							| @@ -1,12 +1,12 @@ | |||||||
| # -*- coding: utf-8 -*- | # -*- coding: utf-8 -*- | ||||||
| from __future__ import unicode_literals | from __future__ import unicode_literals | ||||||
| 
 | 
 | ||||||
| import unittest |  | ||||||
| 
 |  | ||||||
| from django.template import Context, Template | from django.template import Context, Template | ||||||
|  | from django.test import SimpleTestCase, modify_settings | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class WebdesignTest(unittest.TestCase): | @modify_settings(INSTALLED_APPS={'append': 'django.contrib.webdesign'}) | ||||||
|  | class WebdesignTest(SimpleTestCase): | ||||||
| 
 | 
 | ||||||
|     def test_lorem_tag(self): |     def test_lorem_tag(self): | ||||||
|         t = Template("{% load webdesign %}{% lorem 3 w %}") |         t = Template("{% load webdesign %}{% lorem 3 w %}") | ||||||
		Reference in New Issue
	
	Block a user