From 0e52d9860adc2d3d7328c649f3b6995ffc04fc63 Mon Sep 17 00:00:00 2001 From: Daniel Campora Date: Mon, 14 Sep 2015 19:38:28 +0200 Subject: tests/wipy: Improve I2C tests. --- tests/wipy/i2c.py | 5 +++++ tests/wipy/i2c.py.exp | 1 + 2 files changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/wipy/i2c.py b/tests/wipy/i2c.py index 9e2645947..57015767d 100644 --- a/tests/wipy/i2c.py +++ b/tests/wipy/i2c.py @@ -166,6 +166,11 @@ try: except Exception: print("Exception") +try: + I2C(1, I2C.MASTER, baudrate=100000) +except Exception: + print("Exception") + # reinitialization must work i2c.init(baudrate=400000) print(i2c) diff --git a/tests/wipy/i2c.py.exp b/tests/wipy/i2c.py.exp index 54afbdbd2..083da9be7 100644 --- a/tests/wipy/i2c.py.exp +++ b/tests/wipy/i2c.py.exp @@ -47,4 +47,5 @@ Exception Exception Exception Exception +Exception I2C(0, I2C.MASTER, baudrate=400000) -- cgit v1.2.3