Hey all! Trying to instantiate a tap with only cer...
# singer-target-development
c
Hey all! Trying to instantiate a tap with only certain catalog routes enabled for a unit test, but can't find how to pass that in. For example:
Copy code
tap = TapGitLab(config=TEST_CONFIG, catalog=TEST_CATALOG, parse_env_config=True)
Could someone point me to some code that passes the catalog object? I can't find the definition via a file or declared in code please? And/Or how do I call a specific catalog item from a test? All I can see is
tap.sync_all()
TYIA
p
Can you clarify what exactly you are trying to do? It looks like your code passes a catalog, so maybe you can clarify why that doesn’t work like you’d expect. Or are you saying you just want to test a single stream?
👍 1
c
Can you use the pass the select config as part of your config to filter the streams? https://docs.meltano.com/reference/command-line-interface/#select