mirror of
				https://github.com/KevinMidboe/python-gpiozero.git
				synced 2025-10-29 17:50:37 +00:00 
			
		
		
		
	MockPin improvements
Change MockPin (and MockPWMPin) to make them behave more like 'real' pins - fixes #206 Add new MockPin tests, and rework some of the existing ones Incorporate #216
This commit is contained in:
		| @@ -13,5 +13,8 @@ from gpiozero.pins.mock import MockPin | ||||
| from gpiozero import * | ||||
|  | ||||
|  | ||||
| def teardown_function(function): | ||||
|     MockPin.clear_pins() | ||||
|  | ||||
| # TODO boards tests! | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user