<filename>tests/test_pg_diff.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pg_diff.pg_diff import _validate


def test_validate_pass():
    expected = {
        '--type': 'table_count',
        '--source': 'source_dsn',
        '--target': 'target_dsn',
        '--version': True,
        '--verbose': False,
        '--help': False,
    }
    result = _validate(expected)

    assert expected == result

<filename>tests/test_pg_diff.py
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from pg_diff.pg_diff import _validate


def test_validate_pass():
    expected = {
        '--type': 'table_count',
        '--source': 'source_dsn',
        '--target': 'target_dsn',
        '--version': True,
        '--verbose': False,
        '--help': False,
    }
    result = _validate(expected)

    assert expected == result

#!/usr/bin/env python # -*- coding: utf-8 -*-