Exemple #1
0
    def test_logDateAttribute(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"

        log = xes_importer.apply(os.path.join("input_data", "receipt.xes"))
        x, y = log_attributes_filter.get_kde_date_attribute(log)
        json = log_attributes_filter.get_kde_date_attribute_json(log)
        del json
 def test_get_attributes(self):
     from pm4py.statistics.attributes.log import get
     log = self.get_log()
     get.get_attribute_values(log, "concept:name")
     get.get_kde_date_attribute(log, "time:timestamp")
     get.get_kde_numeric_attribute(log, "amount")