Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1109)

Unified Diff: tools/json_schema_compiler/model_test.py

Issue 10701012: JSON Schema Compiler: Added event compilation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Reworked Create functions and lots of tests. Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tools/json_schema_compiler/model_test.py
diff --git a/tools/json_schema_compiler/model_test.py b/tools/json_schema_compiler/model_test.py
index 1eb855c6296d7ac6698f56fb341e0c2bcbd36cbd..880ae8d0f77443c1a3897c208f8140199cd5e43c 100755
--- a/tools/json_schema_compiler/model_test.py
+++ b/tools/json_schema_compiler/model_test.py
@@ -78,8 +78,6 @@ class ModelTest(unittest.TestCase):
def testPropertyUnixName(self):
param = self.tabs.functions['move'].params[0]
self.assertEquals('tab_ids', param.unix_name)
- self.assertRaises(AttributeError,
- param.choices[model.PropertyType.INTEGER].GetUnixName)
param.choices[model.PropertyType.INTEGER].unix_name = 'asdf'
param.choices[model.PropertyType.INTEGER].unix_name = 'tab_ids_integer'
self.assertEquals('tab_ids_integer',

Powered by Google App Engine
This is Rietveld 408576698