Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def test_fs_to_metric(self):
in_ = "servers/s0123/foo/bar.wsp"
out = "servers.s0123.foo.bar"
assert fs_to_metric(in_) == out