vapor-ware / kubetest

Kubernetes integration testing in Python via pytest
https://kubetest.readthedocs.io/en/latest/
GNU General Public License v3.0
206 stars 57 forks source link

How do I get the namespace name in which the test is running? #211

Open christus02 opened 3 years ago

christus02 commented 3 years ago

From within the test, Is there a way we can get the name of the namespace in which the test is running?

ark3 commented 2 years ago

If your test looks like the example, then kube.namespace is the namespace for the test.