File: __init__.py

package info (click to toggle)
drgn 0.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 7,852 kB
  • sloc: python: 74,992; ansic: 54,589; awk: 423; makefile: 351; sh: 99
file content (11 lines) | stat: -rw-r--r-- 277 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env python3

from drgn.commands import DEFAULT_COMMAND_NAMESPACE
from tests import TestCase


class CommandTestCase(TestCase):

    @staticmethod
    def run_command(source, **kwargs):
        return DEFAULT_COMMAND_NAMESPACE.run(None, source, globals={}, **kwargs)