<filename>tests/python/input/foo.py
# RUN: %not %neal %args | %check --comment='.*#'


def foo(visibility=[]):
    pass


def apple_test(test_host_app="", labels=[]):
    pass


# CHECK: error: Must use visibility = PRIVATE instead.
foo(visibility=['PUBLIC'])

# CHECK: error: Only UI tests should have test host apps
apple_test(test_host_app="Test.app", labels=["ui"])

# CHECK-NOT: .*

<filename>tests/python/input/foo.py
# RUN: %not %neal %args | %check --comment='.*#'


def foo(visibility=[]):
    pass


def apple_test(test_host_app="", labels=[]):
    pass


# CHECK: error: Must use visibility = PRIVATE instead.
foo(visibility=['PUBLIC'])

# CHECK: error: Only UI tests should have test host apps
apple_test(test_host_app="Test.app", labels=["ui"])

# CHECK-NOT: .*

# RUN: %not %neal %args | %check --comment='.*#' # CHECK: error: Must use visibility = PRIVATE instead. # CHECK: error: Only UI tests should have test host apps # CHECK-NOT: .*