Ejemplo n.º 1
0
    def test_lgtm(self):
        from lgtm.core import lgtm

        path = os.path.dirname(__file__) + "/data/test_image.jpg"
        lgtm(path, "dog")

        output_path = Path(OUTPUT_NAME)
        self.assertTrue(output_path.exists())
Ejemplo n.º 2
0
 def test_lgtm(self):
     from lgtm.core import lgtm
     self.assertIsNone(lgtm('python', 'LGTM'))
Ejemplo n.º 3
0
 def test_lgtm(self):
     from lgtm.core import lgtm
     self.assertIsNone(lgtm())
Ejemplo n.º 4
0
 def test_lgtm(self):
     from lgtm.core import lgtm
     self.assertIsNone(lgtm("./python.jpeg", "LGTM"))
Ejemplo n.º 5
0
 def test_lgtm(self):
     self.assertIsNone(core.lgtm())
Ejemplo n.º 6
0
 def test_lgtm(self):
     from lgtm.core import lgtm
     self.assertIsNone(lgtm('./example.jpg', 'LGTM'))