Skip to content

Commit

Permalink
tests: placate flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
layday committed Oct 29, 2021
1 parent a1fc3ad commit 9f9ad5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_projectbuilder.py
Expand Up @@ -151,7 +151,7 @@ def test_init(mocker, package_test_flit, package_legacy, test_no_permission, pac
mocker.patch('pep517.wrappers.Pep517HookCaller')

# correct flit pyproject.toml
builder = build.ProjectBuilder(package_test_flit)
build.ProjectBuilder(package_test_flit)
pep517.wrappers.Pep517HookCaller.assert_called_with(
package_test_flit,
'flit_core.buildapi',
Expand All @@ -162,7 +162,7 @@ def test_init(mocker, package_test_flit, package_legacy, test_no_permission, pac
pep517.wrappers.Pep517HookCaller.reset_mock()

# custom python
builder = build.ProjectBuilder(package_test_flit, python_executable='some-python')
build.ProjectBuilder(package_test_flit, python_executable='some-python')
pep517.wrappers.Pep517HookCaller.assert_called_with(
package_test_flit,
'flit_core.buildapi',
Expand All @@ -173,7 +173,7 @@ def test_init(mocker, package_test_flit, package_legacy, test_no_permission, pac
pep517.wrappers.Pep517HookCaller.reset_mock()

# FileNotFoundError
builder = build.ProjectBuilder(package_legacy)
build.ProjectBuilder(package_legacy)
pep517.wrappers.Pep517HookCaller.assert_called_with(
package_legacy,
'setuptools.build_meta:__legacy__',
Expand Down

0 comments on commit 9f9ad5f

Please sign in to comment.