17 lines
		
	
	
		
			417 B
		
	
	
	
		
			Python
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			417 B
		
	
	
	
		
			Python
		
	
	
	
	
	
|   | import unittest | ||
|  | from notescriber.config import Config | ||
|  | 
 | ||
|  | class TranscriptorTest(unittest.TestCase): | ||
|  |     def setUp(self): | ||
|  |         pass | ||
|  | 
 | ||
|  |     def tearDown(self): | ||
|  |         pass | ||
|  | 
 | ||
|  |     def test_run(self): | ||
|  |         cfg = Config() | ||
|  |         cfg.load_config(path="example.config.yaml") | ||
|  |         self.assertEqual("username", cfg.username) | ||
|  |         self.assertEqual("password", cfg.password) | ||
|  |         self.assertEqual("url.org", cfg.url) |