summaryrefslogtreecommitdiffstats
path: root/tests/test_module.py
blob: 1d3d1cc15d06f98401e62deda201f4ad25d31441 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# SPDX-License-Identifier: MIT

import sys

import pytest

import build


def test_version():
    assert build.__version__


@pytest.mark.skipif(sys.version_info < (3, 7), reason='Python 3.7+ required for dir support')
def test_dir():
    assert set(dir(build)) == set(build.__all__)