Exemple #1
0
 def test_subpaths_with_trailing_dot(self):
     joined = metrics._metric_join(b"first.", b"second")
     self.assertEqual(joined, b"first.second")
Exemple #2
0
 def test_two_nodes(self):
     joined = metrics._metric_join(b"first", b"second")
     self.assertEqual(joined, b"first.second")
Exemple #3
0
 def test_subpaths(self):
     joined = metrics._metric_join(b"first.second", b"third.fourth")
     self.assertEqual(joined, b"first.second.third.fourth")
Exemple #4
0
 def test_single_node(self):
     joined = metrics._metric_join(b"single")
     self.assertEqual(joined, b"single")
 def test_subpaths_with_trailing_dot(self):
     joined = metrics._metric_join(b"first.", b"second")
     self.assertEqual(joined, b"first.second")
 def test_subpaths(self):
     joined = metrics._metric_join(b"first.second", b"third.fourth")
     self.assertEqual(joined, b"first.second.third.fourth")
 def test_two_nodes(self):
     joined = metrics._metric_join(b"first", b"second")
     self.assertEqual(joined, b"first.second")
 def test_single_node(self):
     joined = metrics._metric_join(b"single")
     self.assertEqual(joined, b"single")