def testgetPaddingNum(self):
        self.assertEqual(getPaddingNum('@'), 1)
        self.assertEqual(getPaddingNum('@@'), 2)
        self.assertEqual(getPaddingNum('@@@'), 3)
        self.assertEqual(getPaddingNum('#'), 4)
        self.assertEqual(getPaddingNum('##'), 8)
        self.assertEqual(getPaddingNum('#@'), 5)
        self.assertEqual(getPaddingNum('##@@'), 10)
        allPossibleChars = [s for s in string.printable if s not in PAD_MAP.keys()]
        for char in allPossibleChars:
            self.assertRaises(ValueError, getPaddingNum, char)
            self.assertRaises(ValueError, getPaddingNum, '#{}'.format(char))
            self.assertRaises(ValueError, getPaddingNum, '@{}'.format(char))
Tests that query experessions are evaluated properly
dataset/ETHPy150Open sqlboy/fileseq/test/run.py/TestPaddingFunctions.testgetPaddingNum--crossover with--dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/query/test_named.py/TestQuerySetOperation.test_query_expression_parsing