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