process_mining / pm4py /tests /imp_everything.py
linpershey's picture
Add 'pm4py/' from commit '80970016c5e1e79af7c37df0dd88e17587fe7bcf'
b4ba3ec
raw
history blame
530 Bytes
import os
import unittest
class Pm4pyImportPackageTest(unittest.TestCase):
def test_importeverything(self):
# to avoid static method warnings in tests,
# that by construction of the unittest package have to be expressed in such way
self.dummy_variable = "dummy_value"
import pm4py
log = pm4py.objects.log.importer.xes.importer.apply(
os.path.join("input_data", "running-example.xes"))
self.assertEqual(len(log), 6)
if __name__ == "__main__":
unittest.main()