Add test helpers for creating, inspecting and manipulating instances of SyncApp and RestApp. Add subclasses of Anki's RemoteServer and RemoteMediaServer for communicating with the wrapped SyncApp instance under test. Add helpers for monkey patching Anki's MediaManager and DB for easier testing. Add test assets directory.
		
			
				
	
	
		
			9 lines
		
	
	
		
			166 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			166 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
[sync_app]
 | 
						|
host = 127.0.0.1
 | 
						|
port = 27701
 | 
						|
data_root = ./collections
 | 
						|
base_url = /sync/
 | 
						|
base_media_url = /msync/
 | 
						|
auth_db_path = ./auth.db
 | 
						|
session_db_path = ./session.db
 |