def METHOD_NAME(rabbitmq_admin_script):
    for name in ['test1', 'test5', 'tralala']:
        cmd = ['python', rabbitmq_admin_script, '-H', HOST, 'declare', 'queue', 'name={}'.format(name)]
        subprocess.check_call(cmd)
        cmd = ['python', rabbitmq_admin_script, '-H', HOST, 'declare', 'exchange', 'name={}'.format(name), 'type=topic']
        subprocess.check_call(cmd)
        cmd = [
            'python',
            rabbitmq_admin_script,
            '-H',
            HOST,
            'declare',
            'binding',
            'source={}'.format(name),
            'destination_type=queue',
            'destination={}'.format(name),
            'routing_key={}'.format(name),
        ]
        subprocess.check_call(cmd)
        cmd = [
            'python',
            rabbitmq_admin_script,
            '-H',
            HOST,
            'publish',
            'exchange={}'.format(name),
            'routing_key={}'.format(name),
            'payload="hello, world"',
            'properties={"timestamp": 1500000}',
        ]
        subprocess.check_call(cmd)
        cmd = [
            'python',
            rabbitmq_admin_script,
            '-H',
            HOST,
            'publish',
            'exchange={}'.format(name),
            'routing_key=bad_key',
            'payload="unroutable"',
            'properties={"timestamp": 1500000}',
        ]
        subprocess.check_call(cmd)