def test_set_group_prefix(self):
        g = graphitesend.init(group='custom_group')
        expected_prefix = self.hostname % "systems.%s.custom_group."
        custom_prefix = g.prefix
        self.assertEqual(custom_prefix, expected_prefix)
dataset/ETHPy150Open daniellawrence/graphitesend/tests/test_all.py/TestAll.test_set_group_prefix/swapped operands of `%`