Skip to content

Commit

Permalink
Remove trait name requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
rafelafrance committed Apr 17, 2024
1 parent 3366443 commit ea2f111
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 124 deletions.
44 changes: 0 additions & 44 deletions tests/rules/test_color.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,23 @@ def test_color_01(self):
[
Color(
color="green",
trait="color",
start=11,
end=16,
),
Color(
color="green-yellow",
trait="color",
start=20,
end=35,
),
Color(
color="purple-spotted",
missing=True,
trait="color",
start=45,
end=63,
),
Color(
color="purple-spotted",
missing=True,
trait="color",
start=65,
end=86,
),
Expand All @@ -48,19 +44,16 @@ def test_color_02(self):
[
Color(
color="yellow",
trait="color",
start=11,
end=24,
),
Color(
color="yellow",
trait="color",
start=28,
end=42,
),
Color(
color="yellow",
trait="color",
start=46,
end=59,
),
Expand All @@ -73,13 +66,11 @@ def test_color_03(self):
[
Color(
color="green",
trait="color",
start=14,
end=20,
),
Color(
color="red-tipped",
trait="color",
start=24,
end=34,
),
Expand All @@ -92,31 +83,26 @@ def test_color_04(self):
[
Color(
color="white",
trait="color",
start=7,
end=12,
),
Color(
color="white",
trait="color",
start=14,
end=19,
),
Color(
color="green",
trait="color",
start=24,
end=34,
),
Color(
color="orange",
trait="color",
start=36,
end=42,
),
Color(
color="yellow",
trait="color",
start=46,
end=52,
),
Expand All @@ -137,43 +123,36 @@ def test_color_05(self):
[
Color(
color="white",
trait="color",
start=17,
end=22,
),
Color(
color="white",
trait="color",
start=26,
end=31,
),
Color(
color="green-yellow",
trait="color",
start=33,
end=48,
),
Color(
color="yellow",
trait="color",
start=59,
end=68,
),
Color(
color="brown",
trait="color",
start=72,
end=82,
),
Color(
color="green",
trait="color",
start=109,
end=120,
),
Color(
color="white-longitudinal-stripes",
trait="color",
start=124,
end=150,
),
Expand All @@ -192,43 +171,36 @@ def test_color_06(self):
[
Color(
color="white",
trait="color",
start=17,
end=22,
),
Color(
color="white",
trait="color",
start=26,
end=31,
),
Color(
color="green-white",
trait="color",
start=33,
end=47,
),
Color(
color="yellow-green",
trait="color",
start=52,
end=67,
),
Color(
color="yellow",
trait="color",
start=72,
end=81,
),
Color(
color="green-throated",
trait="color",
start=91,
end=105,
),
Color(
color="green-lined",
trait="color",
start=110,
end=129,
),
Expand All @@ -241,7 +213,6 @@ def test_color_07(self):
[
Color(
color="yellow",
trait="color",
start=6,
end=12,
),
Expand All @@ -254,7 +225,6 @@ def test_color_08(self):
[
Color(
color="yellow",
trait="color",
start=8,
end=14,
),
Expand All @@ -267,7 +237,6 @@ def test_color_09(self):
[
Color(
color="yellow",
trait="color",
start=7,
end=13,
),
Expand All @@ -280,7 +249,6 @@ def test_color_10(self):
[
Color(
color="yellow",
trait="color",
start=11,
end=17,
),
Expand All @@ -293,7 +261,6 @@ def test_color_11(self):
[
Color(
color="yellow",
trait="color",
start=6,
end=24,
),
Expand All @@ -306,7 +273,6 @@ def test_color_12(self):
[
Color(
color="yellow",
trait="color",
start=6,
end=12,
),
Expand All @@ -319,7 +285,6 @@ def test_color_13(self):
[
Color(
color="white",
trait="color",
start=38,
end=43,
),
Expand All @@ -332,7 +297,6 @@ def test_color_14(self):
[
Color(
color="black-dots",
trait="color",
start=46,
end=59,
),
Expand All @@ -345,13 +309,11 @@ def test_color_15(self):
[
Color(
color="purple",
trait="color",
start=7,
end=15,
),
Color(
color="white-yellow",
trait="color",
start=25,
end=42,
),
Expand All @@ -364,13 +326,11 @@ def test_color_16(self):
[
Color(
color="red",
trait="color",
start=7,
end=10,
),
Color(
color="yellow",
trait="color",
start=14,
end=30,
),
Expand All @@ -383,13 +343,11 @@ def test_color_17(self):
[
Color(
color="green",
trait="color",
start=20,
end=25,
),
Color(
color="red-tinged",
trait="color",
start=29,
end=43,
),
Expand All @@ -405,7 +363,6 @@ def test_color_18(self):
[
Color(
color="yellow",
trait="color",
start=87,
end=96,
),
Expand All @@ -419,7 +376,6 @@ def test_color_19(self):
[
Color(
color="yellow",
trait="color",
start=13,
end=25,
),
Expand Down
Loading

0 comments on commit ea2f111

Please sign in to comment.