Exemplo n.º 1
0
 def test_get_file_path(self):
     file = get_file_path(None, 'teste.png')
     self.assertTrue(len(file), len(self.filename))
Exemplo n.º 2
0
 def test_get_file_path(self):
     arquivo = get_file_path(None, 'teste.png')
     self.assertTrue(len(arquivo), len(self.filename))
Exemplo n.º 3
0
 def test_get_file_path(self):
     testfile = get_file_path(None, 'test.png')
     self.assertTrue(len(testfile), self.filename)
Exemplo n.º 4
0
 def test_get_file_path(self):
     # aqui criamos um novo arquivo chamado
     # 'arquivo' atraves do metodo test_get_file_path
     arquivo = get_file_path(None, 'test.png')
     # e aqui fazemos a comparação se os dois arquivos possuem o mesmo tamanha
     self.assertTrue(len(arquivo), len(self.filename))
 def test_get_file_path(self):
     filename = get_file_path(None, "test.png")
     self.assertTrue(len(filename), len(self.filename))