You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tests/test_types.py
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ class TestTossup:
9
9
10
10
tu_json= {
11
11
"_id": "64046cc6de59b8af97422da5",
12
-
"question": "<b>Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This </b>(*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized <i>c</i>, that is about 30 million meters per second.",
12
+
"question": "<b>Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This </b>(*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized <i>c</i>, that is about 30 million meters per second.",# noqa: E501
13
13
"answer": "<b><u>Speed of Light</u></b>",
14
14
"category": "Science",
15
15
"subcategory": "Physics",
@@ -25,7 +25,7 @@ class TestTossup:
25
25
"difficulty": 3,
26
26
"number": 3,
27
27
"answer_sanitized": "Speed of Light",
28
-
"question_sanitized": "Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This (*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized c, that is about 30 million meters per second.",
28
+
"question_sanitized": "Radiative power is inversely proportional to this quantity cubed, times 6-pi-epsilon, according to the Larmor formula. This quantity is in the numerator in the formula for the index of refraction. When a charged particle exceeds this quantity while in a medium, it produces Cherenkov radiation. This (*) quantity is equal to one divided by the square root of the product of the vacuum permittivity and permeability. This quantity is constant in all inertial reference frames. For 10 points, name this value symbolized c, that is about 30 million meters per second.",# noqa: E501
29
29
}
30
30
31
31
deftest_from_json(self):
@@ -50,21 +50,21 @@ class TestBonus:
50
50
51
51
b_json= {
52
52
"_id": "673ec00f90236da031c2cedb",
53
-
"leadin": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called<i> The</i> [this adjective]<i> Mercury</i>, which eventually fell under far-right leadership. For 10 points each:",
54
-
"leadin_sanitized": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called The [this adjective] Mercury, which eventually fell under far-right leadership. For 10 points each:",
53
+
"leadin": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called<i> The</i> [this adjective]<i> Mercury</i>, which eventually fell under far-right leadership. For 10 points each:",# noqa: E501
54
+
"leadin_sanitized": "With George Jean Nathan, H. L. Mencken co-founded a newspaper called The [this adjective] Mercury, which eventually fell under far-right leadership. For 10 points each:",# noqa: E501
55
55
"parts": [
56
-
"Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence “who are you talking to” is “doubly” this adjective since it forgoes “whom” and puts a preposition at the end of a sentence.",
57
-
"<i> The Baltimore Sun</i> sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play<i> Inherit the Wind</i>.",
58
-
"At the end of<i> Inherit the Wind</i>, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a “Belt” in the Southern United States named for this text.",
56
+
"Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence “who are you talking to” is “doubly” this adjective since it forgoes “whom” and puts a preposition at the end of a sentence.",# noqa: E501
57
+
"<i> The Baltimore Sun</i> sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play<i> Inherit the Wind</i>.",# noqa: E501
58
+
"At the end of<i> Inherit the Wind</i>, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a “Belt” in the Southern United States named for this text.",# noqa: E501
59
59
],
60
60
"parts_sanitized": [
61
-
'Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence "who are you talking to" is "doubly" this adjective since it forgoes "whom" and puts a preposition at the end of a sentence.',
62
-
"The Baltimore Sun sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play Inherit the Wind.",
63
-
'At the end of Inherit the Wind, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a "Belt" in the Southern United States named for this text.',
61
+
'Name this adjective in the title of a Mencken book that pays homage to Noah Webster. That book claims that the sentence "who are you talking to" is "doubly" this adjective since it forgoes "whom" and puts a preposition at the end of a sentence.',# noqa: E501
62
+
"The Baltimore Sun sent Mencken to cover one of these events in Dayton, Tennessee, where he gave it a famous nickname. That event of this type was fictionalized in the play Inherit the Wind.",# noqa: E501
63
+
'At the end of Inherit the Wind, Henry Drummond picks up a book by Darwin in one hand and this book with the other. Mencken claimed to have coined the term for a "Belt" in the Southern United States named for this text.',# noqa: E501
0 commit comments