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