示例#1
0
class testBackends :
    """
    Test Backends Class
    """
    def setUp(self) :
        self.Tools = Tools()
        self.Tools.createRootDir()
        self.Tools.createBackendFiles()
        
        self.backend1 = Backends()
        
    def tearDown(self):
        self.Tools.removeTempFiles()
        
    def testGetBackends(self):
        
        assert self.backend1.getBackends(self.Tools.BackendDirectory) == ['imdbtvbackend']
示例#2
0
class testBackends:
    """
    Test Backends Class
    """
    def setUp(self):
        self.Tools = Tools()
        self.Tools.createRootDir()
        self.Tools.createBackendFiles()

        self.backend1 = Backends()

    def tearDown(self):
        self.Tools.removeTempFiles()

    def testGetBackends(self):

        assert self.backend1.getBackends(
            self.Tools.BackendDirectory) == ['imdbtvbackend']
示例#3
0
    def setUp(self):
        self.Tools = Tools()
        self.Tools.createRootDir()
        self.Tools.createBackendFiles()

        self.backend1 = Backends()
示例#4
0
 def setUp(self) :
     self.Tools = Tools()
     self.Tools.createRootDir()
     self.Tools.createBackendFiles()
     
     self.backend1 = Backends()