2019-12-05 20:57:22 +01:00
|
|
|
import os
|
2019-11-12 23:51:27 +00:00
|
|
|
|
2019-12-05 20:57:22 +01:00
|
|
|
import utils
|
|
|
|
|
|
|
|
|
|
project_dir = os.path.dirname(__file__)
|
|
|
|
|
|
2019-11-12 23:51:27 +00:00
|
|
|
|
2019-12-05 20:57:22 +01:00
|
|
|
def test():
|
|
|
|
|
# build the wheels
|
|
|
|
|
actual_wheels = utils.cibuildwheel_run(project_dir)
|
|
|
|
|
|
|
|
|
|
# check that the expected wheels are produced
|
|
|
|
|
expected_wheels = utils.expected_wheels('spam', '0.1.0')
|
|
|
|
|
assert set(actual_wheels) == set(expected_wheels)
|