<filename>tests/test_factory.py
from kalc.misc.object_factory import labelFactory

def test_label_factory():
    l = labelFactory.get("test", "test")
<filename>tests/test_factory.py
from kalc.misc.object_factory import labelFactory

def test_label_factory():
    l = labelFactory.get("test", "test")