Exemplo n.º 1
0
 def testGetFifth(self):
     key = "A"
     answer = "E"
     result = QueryRunner.getFifthFromKey(key)
     self.assertEqual(answer, result)
Exemplo n.º 2
0
    def _setValidKeys(self, key):
        self.key = str(key)

        if key is not "None":
            self.keyFifth = QueryRunner.getFifthFromKey(key)
Exemplo n.º 3
0
 def testGetFifthWrongInput(self):
     key = "W"
     answer = "None"
     result = QueryRunner.getFifthFromKey(key)
     self.assertEqual(answer, result)