mirror of
https://github.com/Instagram/LibCST.git
synced 2025-12-23 10:35:53 +00:00
Clean up on-call specification leftover from open-sourcing.
This commit is contained in:
parent
ba64cb9d4e
commit
435ffc4bca
3 changed files with 0 additions and 12 deletions
|
|
@ -26,9 +26,6 @@ def fixture(code: str) -> cst.Module:
|
|||
|
||||
|
||||
class MatchersGatingDecoratorsTest(UnitTest):
|
||||
|
||||
ONCALL_SHORTNAME = "instagram_server_framework"
|
||||
|
||||
def test_call_if_inside_transform_simple(self) -> None:
|
||||
# Set up a simple visitor with a call_if_inside decorator.
|
||||
class TestVisitor(MatcherDecoratableTransformer):
|
||||
|
|
@ -379,9 +376,6 @@ class MatchersGatingDecoratorsTest(UnitTest):
|
|||
|
||||
|
||||
class MatchersVisitLeaveDecoratorsTest(UnitTest):
|
||||
|
||||
ONCALL_SHORTNAME = "instagram_server_framework"
|
||||
|
||||
def test_visit_transform(self) -> None:
|
||||
# Set up a simple visitor with a visit and leave decorator.
|
||||
class TestVisitor(MatcherDecoratableTransformer):
|
||||
|
|
|
|||
|
|
@ -11,9 +11,6 @@ from libcst.testing.utils import UnitTest
|
|||
|
||||
|
||||
class MatchersMatcherTest(UnitTest):
|
||||
|
||||
ONCALL_SHORTNAME = "instagram_server_framework"
|
||||
|
||||
def test_simple_matcher_true(self) -> None:
|
||||
# Match based on identical attributes.
|
||||
self.assertTrue(matches(libcst.Name("foo"), m.Name("foo")))
|
||||
|
|
|
|||
|
|
@ -19,9 +19,6 @@ from libcst.testing.utils import UnitTest
|
|||
|
||||
|
||||
class MatchersVisitLeaveDecoratorTypingTest(UnitTest):
|
||||
|
||||
ONCALL_SHORTNAME = "instagram_server_framework"
|
||||
|
||||
def test_valid_collector_simple(self) -> None:
|
||||
class TestVisitor(MatcherDecoratableVisitor):
|
||||
@visit(m.SimpleString())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue