# Path: nuka/reports.py
# def round_dict(d):
#     def __init__(self, *args, **kwargs):
#     def __getattr__(self, attr):
# def get_report_data(host):
# def build_reports(hosts):
# def run_dev_server():  # pragma: no cover
#     def app(environ, start_response):
# class Item(dict):
# 
# Path: nuka/tasks/shell.py
# class command(Task):
#     """run a task"""
# 
#     def __init__(self, cmd=None, **kwargs):
#         kwargs.setdefault('name', cmd)
#         super(command, self).__init__(cmd=cmd, **kwargs)
# 
#     def do(self):
#         kwargs = {}
#         watch = self.args.get('watch')
#         if watch:  # pragma: no cover
#             kwargs['watcher'] = utils.default_watcher(delay=watch)
#         res = self.sh(self.args['cmd'], **kwargs)
#         res.pop('stderr')
#         return res


import pytest
from nuka import reports
from nuka.tasks.shell import command
# -*- coding: utf-8 -*-


@pytest.mark.asyncio
async def test_reports(host):
    await command(['ls'])

# Path: nuka/reports.py
# def round_dict(d):
#     def __init__(self, *args, **kwargs):
#     def __getattr__(self, attr):
# def get_report_data(host):
# def build_reports(hosts):
# def run_dev_server():  # pragma: no cover
#     def app(environ, start_response):
# class Item(dict):
# 
# Path: nuka/tasks/shell.py
# class command(Task):
#     """run a task"""
# 
#     def __init__(self, cmd=None, **kwargs):
#         kwargs.setdefault('name', cmd)
#         super(command, self).__init__(cmd=cmd, **kwargs)
# 
#     def do(self):
#         kwargs = {}
#         watch = self.args.get('watch')
#         if watch:  # pragma: no cover
#             kwargs['watcher'] = utils.default_watcher(delay=watch)
#         res = self.sh(self.args['cmd'], **kwargs)
#         res.pop('stderr')
#         return res


# Path: tests/test_reports.py
import pytest
from nuka import reports
from nuka.tasks.shell import command

# -*- coding: utf-8 -*-


@pytest.mark.asyncio
async def test_reports(host):
    await command(['ls'])

    reports.build_reports([host])