test: fix some tests
This commit is contained in:
		
							parent
							
								
									8d5427e92f
								
							
						
					
					
						commit
						f292850d05
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -135,7 +135,7 @@ class TestGrid(WebTestCase): | |||
| 
 | ||||
|     def test_set_label(self): | ||||
|         model = self.app.model | ||||
|         grid = self.make_grid(model_class=model.Setting) | ||||
|         grid = self.make_grid(model_class=model.Setting, filterable=True) | ||||
|         self.assertEqual(grid.labels, {}) | ||||
| 
 | ||||
|         # basic | ||||
|  |  | |||
|  | @ -38,7 +38,7 @@ class TestPersonView(WebTestCase): | |||
| 
 | ||||
|     def test_configure_form(self): | ||||
|         model = self.app.model | ||||
|         barney = model.User(username='barney') | ||||
|         barney = model.Person(display_name="Barney Rubble") | ||||
|         self.session.add(barney) | ||||
|         self.session.commit() | ||||
|         view = self.make_view() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Lance Edgar
						Lance Edgar