File: __init__.py

package info (click to toggle)
django-cte 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 356 kB
  • sloc: python: 3,245; makefile: 7
file content (19 lines) | stat: -rw-r--r-- 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from unmagic import fixture

from .. import ignore_v1_warnings


@fixture(autouse=__file__)
def ignore_v1_deprecations():
    with ignore_v1_warnings():
        yield


@fixture(autouse=__file__, scope="class")
def ignore_v1_deprecations_in_class_setup():
    with ignore_v1_warnings():
        yield


with ignore_v1_warnings():
    from . import models  # noqa: F401