unioslo / zabbix-auto-config

MIT License
2 stars 5 forks source link

Fix missing raw string #54

Closed paalbra closed 1 year ago

paalbra commented 1 year ago

The tests complain that:

tests/conftest.py:43
  zabbix-auto-config/tests/conftest.py:43: DeprecationWarning: invalid escape sequence '\d'
    "proxy_pattern": "^zbx-proxy\d+\.example\.com$",

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

This makes it a raw string.