File: test_types.py

package info (click to toggle)
pg-activity 3.6.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,144 kB
  • sloc: python: 3,902; sql: 1,067; sh: 5; makefile: 2
file content (6 lines) | stat: -rw-r--r-- 165 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
from pgactivity.types import Filters


def test_filters_from_options():
    f = Filters.from_options(["dbname:postgres"])
    assert f == Filters(dbname="postgres")