avoid 'db locked' error with sqlite on first run: provide additional commit()
This commit is contained in:
		
							parent
							
								
									6099db6c56
								
							
						
					
					
						commit
						a4c24a44d8
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -112,6 +112,7 @@ def test_topic(self, config): | ||||||
|         title='Programming Languages',  |         title='Programming Languages',  | ||||||
|         description='Programming Languages')) |         description='Programming Languages')) | ||||||
|     topics.save(tp_proglang) |     topics.save(tp_proglang) | ||||||
|  |     #storage.commit() # avoid "database locked" error with sqlite | ||||||
|     tp_itc.addChild(tp_proglang) |     tp_itc.addChild(tp_proglang) | ||||||
| 
 | 
 | ||||||
|     c = list(tp_itc.children()) |     c = list(tp_itc.children()) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue