def METHOD_NAME(self):
    with session.begin():
        system = data_setup.create_system(status=SystemStatus.manual)
        user = data_setup.create_user()
        system.reserve_manually(u'TESTING', user=user)
    json_out = run_client(['bkr', 'system-status', system.fqdn,
        '--format', 'json'])
    json_out = loads(json_out)
    current_reservation = json_out['current_reservation']
    self.assertEqual(current_reservation.get('user_name'), unicode(user))
    self.assertEqual(json_out.get('current_loan'), None)
    self.assertEqual(json_out.get('condition'), '%s' % SystemStatus.manual)
    # Human friendly output
    human_out = run_client(['bkr', 'system-status', system.fqdn])
    expected_out = textwrap.dedent('''\
        Condition: %s
        Current reservation:
            User: %s
        Current loan: None''' % (system.status, system.user,))
    human_out = human_out.rstrip('\n')
    self.assertEqual(human_out, expected_out, human_out)