CoolFace
Apppublic

linpershey/process_mining

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
imp_everything.py18 linesDownload Raw Back to tests
1import os2import unittest3 4 5class Pm4pyImportPackageTest(unittest.TestCase):6    def test_importeverything(self):7        # to avoid static method warnings in tests,8        # that by construction of the unittest package have to be expressed in such way9        self.dummy_variable = "dummy_value"10        import pm4py11        log = pm4py.objects.log.importer.xes.importer.apply(12            os.path.join("input_data", "running-example.xes"))13        self.assertEqual(len(log), 6)14 15 16if __name__ == "__main__":17    unittest.main()18