コード例 #1
0
 def test_get_file_path(self):
     file = get_file_path(None, 'teste.png')
     self.assertTrue(len(file), len(self.filename))
コード例 #2
0
ファイル: test_models.py プロジェクト: 7Gabriel/fusionsite
 def test_get_file_path(self):
     arquivo = get_file_path(None, 'teste.png')
     self.assertTrue(len(arquivo), len(self.filename))
コード例 #3
0
 def test_get_file_path(self):
     testfile = get_file_path(None, 'test.png')
     self.assertTrue(len(testfile), self.filename)
コード例 #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))
コード例 #5
0
 def test_get_file_path(self):
     filename = get_file_path(None, "test.png")
     self.assertTrue(len(filename), len(self.filename))