1313# limitations under the License.
1414from __future__ import annotations
1515
16- import os
17-
1816import pytest
1917
20- from pants .backend .python import target_types_rules
21- from pants .backend .python .target_types import PythonSourcesGeneratorTarget
22-
23- from pants .core .util_rules .source_files import SourceFiles , SourceFilesRequest
24- from pants .engine .addresses import Address
2518from pants .engine .internals .scheduler import ExecutionError
26- from pants .engine .fs import CreateDigest , Digest , FileContent , Snapshot
2719from pants .engine .target import Target
28- from pants .core .goals .fmt import FmtResult
2920from pants .testutil .rule_runner import QueryRule , RuleRunner
3021
3122from .exceptions import ServiceMissingError
3223from .mongo_rules import (
3324 MongoIsRunning ,
34- PytestUsesMongoRequest ,
3525 UsesMongoRequest ,
3626 rules as mongo_rules ,
3727)
@@ -49,15 +39,9 @@ def rule_runner() -> RuleRunner:
4939 return RuleRunner (
5040 rules = [
5141 * mongo_rules (),
52- # *target_types_rules.rules(),
5342 QueryRule (MongoIsRunning , (UsesMongoRequest , Platform )),
54- # QueryRule(PytestPluginSetup, (PytestUsesMongoRequest)),
55- ],
56- target_types = [
57- # MockTarget,
58- # PythonTestsGeneratorTarget,
59- # PythonTestTarget,
6043 ],
44+ target_types = [],
6145 )
6246
6347
0 commit comments