File: test_backward_compatibility_18.py

package info (click to toggle)
liquidctl 1.16.0-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 3,452 kB
  • sloc: python: 15,304; sh: 712; xml: 84; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 352 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""Test backward compatibility with liquidctl 1.8.x."""

# uses the psf/black style

import pytest


def test_version_version_dunder_still_imports(caplog):
    from liquidctl.version import __version__

    assert type(__version__) is str


def test_pre19_driver_names_still_import():
    from liquidctl.driver.asetek_pro import CorsairAsetekProDriver