Exemple #1
0
 def test_AT_loggername(self):
     """ test AT set/getloggername() """
     at = AT({'alias': 'log'})
     name = "admit_logger"
     at.setloggername(name)
     ret = at.getloggername()
     self.assertEqual(ret, name)
Exemple #2
0
 def test_AT_loggername(self):
     """ test AT set/getloggername() """
     at = AT({'alias': 'log'})
     name = "admit_logger"
     at.setloggername(name)
     ret = at.getloggername()
     self.assertEqual(ret, name)
Exemple #3
0
    def test_loggername(self):
        at = AT({'alias': 'log'})
        name = "admit_logger"
        at.setloggername(name)
        ret = at.getloggername()
        if (self.verbose):
            print "\nAT Class Logger Name:", name

        self.assertEqual(ret, name)
Exemple #4
0
    def test_loggername(self):
        at = AT({'alias': 'log'})
        name = "admit_logger"
        at.setloggername(name)
        ret = at.getloggername()
        if(self.verbose):
            print "\nAT Class Logger Name:", name

        self.assertEqual(ret, name)