def test_repr(self):
        host = 'localhost'
        port = 8086
        db_name = 'foo'
        db = AsyncfluxClient(host, port)[db_name]
        username = 'foo'
        format_repr = "User(Database(AsyncfluxClient('%s', %d), '%s'), '%s')"
        self.assertEqual(repr(User(db, username)),
                         ((host, port, db_name, username) % format_repr))
dataset/ETHPy150Open puentesarrin/asyncflux/tests/user_test.py/UserTestCase.test_repr/swapped operands of `%`