fix unit test build fail
This commit is contained in:
		@@ -14,4 +14,3 @@
 | 
			
		||||
{% for field in form.visible_fields %}
 | 
			
		||||
    {% include 'bootstrapform/field.html' %}
 | 
			
		||||
{% endfor %}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -43,9 +43,7 @@ class BootstrapTemplateTagTests(TestCase):
 | 
			
		||||
        form = ExampleForm()
 | 
			
		||||
 | 
			
		||||
        html = Template("{% load bootstrap %}{{ form|bootstrap }}").render(Context({'form': form}))
 | 
			
		||||
 | 
			
		||||
        with open('/tmp/basic.html', 'w+') as f:
 | 
			
		||||
            f.write(html)
 | 
			
		||||
        html = html.strip('\n').strip(' ')
 | 
			
		||||
 | 
			
		||||
        image = os.path.join('fixtures', 'basic.html')
 | 
			
		||||
        with open(os.path.join(TEST_DIR, image)) as f:
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										10
									
								
								tests/fixtures/basic.html
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								tests/fixtures/basic.html
									
									
									
									
										vendored
									
									
								
							@@ -1,10 +1,5 @@
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    
 | 
			
		||||
 | 
			
		||||
<div class="form-group">
 | 
			
		||||
    
 | 
			
		||||
        
 | 
			
		||||
@@ -204,7 +199,4 @@
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
    
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
		Reference in New Issue
	
	Block a user