def test_fqdn_squash(self):
        g = graphitesend.init(fqdn_squash=True)
        custom_prefix = g.prefix
        expected_results = self.hostname.replace('.', '_') % 'systems.%s.'
        self.assertEqual(custom_prefix, expected_results)
dataset/ETHPy150Open daniellawrence/graphitesend/tests/test_all.py/TestAll.test_fqdn_squash/swapped operands of `%`