def test_version(self):
        mock = MagicMock(return_value="5.7")
        with patch.dict(bluez.__salt__, {'cmd.run': mock}):
            self.assertDictEqual(bluez.version(),
                                 {'PyBluez': '<= 0.18 (Unknown, but installed)',
                                  'Bluez': '5.7'})
Test grabbing exif data from an image
dataset/ETHPy150Open saltstack/salt/tests/unit/modules/bluez_test.py/BluezTestCase.test_version--crossover with--dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_models.py/ImageTest.test_process_exif_data