Skip to content
Snippets Groups Projects
Select Git revision
  • 83dee04507d4cf3096075916af0991f935419135
  • master default protected
  • deanonimzer
  • v2 protected
  • v1 protected
  • develop protected
6 results

test_ccl_configuration.py

Blame
  • test_ccl_configuration.py 540 B
    from hydra import initialize, compose
    from hydra.utils import instantiate
    
    def test_ccl_configuration():
        with initialize(config_path="../../../config", version_base="1.1"):
            config = compose(config_name="config", overrides=["paths.root_path=../../../", "configuration=ccl"])
            pipeline = instantiate(config.pipeline)
            
        result = pipeline.run("./tests/integration/ccl_configuration/marek_kowalski_pojechal_do_wroclawia.ccl")
        
        assert result == "[OSOBA] [OSOBA] (numer telefonu [DIGITS]) miesza we [MIEJSCE]"