Пример #1
0
 def test_devices_p(self):
     result = adb.devices()
     #don't check output code in result but presence of "device" string
     self.assertRegexpMatches(result[1], '\\tdevice')
Пример #2
0
 def test_devices_p_l_option(self):
     result = adb.devices('-l')
     self.assertRegexpMatches(result[1], 'model:')
Пример #3
0
 def test_devices_l_option(self):
     result = adb.devices('-l')
     self.assertRegexpMatches(result[1], 'model:')
Пример #4
0
 def test_devices(self):
     result = adb.devices()
     #don't check output code in result but presence of "device" string
     self.assertRegexpMatches(result[1], '\\tdevice')
Пример #5
0
 def test_devices_w_opt(self):
     opts = ["-l"]
     result = adb.devices(opts)
     result[1].should.match(r'model:')
Пример #6
0
 def test_devices(self):
     result = adb.devices()
     # don't check output code in result but presence of "device" string
     result[1].should.match(r'\tdevice')
Пример #7
0
 def test_devices_p_l_option(self):
     result = adb.devices("-l")
     self.assertRegexpMatches(result[1], "model:")