Пример #1
0
 def testGetFifth(self):
     key = "A"
     answer = "E"
     result = QueryRunner.getFifthFromKey(key)
     self.assertEqual(answer, result)
Пример #2
0
    def _setValidKeys(self, key):
        self.key = str(key)

        if key is not "None":
            self.keyFifth = QueryRunner.getFifthFromKey(key)
Пример #3
0
 def testGetFifthWrongInput(self):
     key = "W"
     answer = "None"
     result = QueryRunner.getFifthFromKey(key)
     self.assertEqual(answer, result)