Skip to content

Commit 10ce700

Browse files
committed
Fixed test_tokenizer to run more than zero tests
--HG-- extra : convert_revision : svn%3Aacbfec75-9323-0410-a652-858a13e371e0/trunk%401131
1 parent d0d5186 commit 10ce700

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_tokenizer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def buildTestSuite():
122122
for filename in html5lib_test_files('tokenizer', '*.test'):
123123
tests = simplejson.load(file(filename))
124124
testName = os.path.basename(filename).replace(".test","")
125-
if 'test' in tests:
125+
if 'tests' in tests:
126126
for index,test in enumerate(tests['tests']):
127127
if 'contentModelFlags' not in test:
128128
test["contentModelFlags"] = ["PCDATA"]

0 commit comments

Comments
 (0)