Beispiel #1
0
 def test_get_brand_id_toshiba(self):
     testcase = "toshiba"
     expected = 8
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #2
0
 def test_get_brand_id_asus(self):
     testcase = "asus"
     expected = 6
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #3
0
 def test_get_brand_id_microsoft(self):
     testcase = "microsoft"
     expected = 7
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #4
0
 def test_get_brand_id_acer(self):
     testcase = "acer"
     expected = 5
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #5
0
 def test_get_brand_id_samsung(self):
     testcase = "samsung"
     expected = 4
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #6
0
 def test_get_brand_id_lenovo(self):
     testcase = "lenovo"
     expected = 3
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #7
0
 def test_get_brand_id_hp(self):
     testcase = "hp"
     expected = 2
     self.assertEqual(get_brand_id(connection, testcase), expected)
Beispiel #8
0
 def test_get_brand_id_dell(self):
     testcase = "dell"
     expected = 1
     self.assertEqual(get_brand_id(connection, testcase), expected)