Use the platform object itself as the interface

This commit is contained in:
Joe Rickerby
2023-04-10 22:20:04 +01:00
parent 26dd3f399e
commit ae0ac92167
7 changed files with 29 additions and 48 deletions
+3 -3
View File
@@ -85,9 +85,9 @@ def platform(request, monkeypatch):
def intercepted_build_args(monkeypatch):
intercepted = ArgsInterceptor()
monkeypatch.setattr(linux.interface, "build", intercepted)
monkeypatch.setattr(macos.interface, "build", intercepted)
monkeypatch.setattr(windows.interface, "build", intercepted)
monkeypatch.setattr(linux, "build", intercepted)
monkeypatch.setattr(macos, "build", intercepted)
monkeypatch.setattr(windows, "build", intercepted)
yield intercepted