Add tests and more docs
This commit is contained in:
		
							
								
								
									
										12
									
								
								kdoorweb/tests/test_db.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								kdoorweb/tests/test_db.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,12 @@ | ||||
| import unittest | ||||
|  | ||||
| from kdoorweb.db import DB | ||||
|  | ||||
|  | ||||
| class TestDB(unittest.TestCase): | ||||
|     def test_create_db_in_memory(self): | ||||
|         DB.create_db(dbfile=":memory:") | ||||
|  | ||||
|  | ||||
| if __name__ == '__main__': | ||||
|     unittest.main() | ||||
		Reference in New Issue
	
	Block a user