Remove py_rule_test (#295)
diff --git a/test/BUILD b/test/BUILD
index 3674d93..d3b2743 100644
--- a/test/BUILD
+++ b/test/BUILD
@@ -239,13 +239,6 @@
)
stardoc_test(
- name = "py_rule_test",
- golden_file = "testdata/py_rule_test/golden.md",
- input_file = "testdata/py_rule_test/input.bzl",
- symbol_names = ["py_related_rule"],
-)
-
-stardoc_test(
name = "struct_default_value_test",
golden_file = "testdata/struct_default_value_test/golden.md",
input_file = "testdata/struct_default_value_test/input.bzl",
diff --git a/test/testdata/py_rule_test/golden.md b/test/testdata/py_rule_test/golden.md
deleted file mode 100644
index ca783bf..0000000
--- a/test/testdata/py_rule_test/golden.md
+++ /dev/null
@@ -1,30 +0,0 @@
-<!-- Generated with Stardoc: http://skydoc.bazel.build -->
-
-The input file for the python rule test
-
-<a id="py_related_rule"></a>
-
-## py_related_rule
-
-<pre>
-load("@stardoc//test:testdata/py_rule_test/input.bzl", "py_related_rule")
-
-py_related_rule(<a href="#py_related_rule-name">name</a>, <a href="#py_related_rule-fifth">fifth</a>, <a href="#py_related_rule-first">first</a>, <a href="#py_related_rule-fourth">fourth</a>, <a href="#py_related_rule-second">second</a>, <a href="#py_related_rule-sixth">sixth</a>, <a href="#py_related_rule-third">third</a>)
-</pre>
-
-This rule does python-related things.
-
-**ATTRIBUTES**
-
-
-| Name | Description | Type | Mandatory | Default |
-| :------------- | :------------- | :------------- | :------------- | :------------- |
-| <a id="py_related_rule-name"></a>name | A unique name for this target. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
-| <a id="py_related_rule-fifth"></a>fifth | Hey look, its the fifth thing! | Boolean | optional | `True` |
-| <a id="py_related_rule-first"></a>first | this is the first doc string! | <a href="https://bazel.build/concepts/labels">Label</a> | required | |
-| <a id="py_related_rule-fourth"></a>fourth | the fourth doc string. | Boolean | optional | `False` |
-| <a id="py_related_rule-second"></a>second | - | <a href="https://bazel.build/rules/lib/core/dict">Dictionary: String -> String</a> | required | |
-| <a id="py_related_rule-sixth"></a>sixth | it's the sixth thing. | List of integers | optional | `[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]` |
-| <a id="py_related_rule-third"></a>third | - | <a href="https://bazel.build/concepts/labels">Label</a>; <a href="https://bazel.build/reference/be/common-definitions#configurable-attributes">nonconfigurable</a> | required | |
-
-
diff --git a/test/testdata/py_rule_test/input.bzl b/test/testdata/py_rule_test/input.bzl
deleted file mode 100644
index 750edaf..0000000
--- a/test/testdata/py_rule_test/input.bzl
+++ /dev/null
@@ -1,33 +0,0 @@
-"""The input file for the python rule test"""
-
-def exercise_the_api():
- var1 = PyRuntimeInfo # @unused
-
-exercise_the_api()
-
-def my_rule_impl(ctx):
- _ignore = [ctx] # @unused
- return []
-
-# buildifier: disable=unsorted-dict-items
-py_related_rule = rule(
- implementation = my_rule_impl,
- doc = "This rule does python-related things.",
- attrs = {
- "first": attr.label(
- mandatory = True,
- doc = "this is the first doc string!",
- allow_single_file = True,
- ),
- "second": attr.string_dict(mandatory = True),
- "third": attr.output(mandatory = True),
- "fourth": attr.bool(default = False, doc = "the fourth doc string.", mandatory = False),
- "fifth": attr.bool(default = True, doc = "Hey look, its the fifth thing!"),
- "sixth": attr.int_list(
- default = range(10),
- doc = "it's the sixth thing.",
- mandatory = False,
- ),
- "_hidden": attr.string(),
- },
-)