1. toscawidgets
  2. tw2.core-instances


percious  committed b05d15b

print statement removal more validation test fixes.

  • Participants
  • Parent commits e501ded
  • Branches default

Comments (0)

Files changed (2)

File tests/test_validation.py

View file
     def test_round_trip(self):
         test = twc.CompoundWidget(id='a', children=[
-                twc.RepeatingWidget(id='q', child=twc.Widget)
+                twc.RepeatingWidget(id='q', child=twc.Widget())
             twc.CompoundWidget(id='cc', children=[

File tw2/core/template.py

View file
         """Return a function that will that processes a template appropriately,
         given the source and destination engine names.
-        print src, dst, template
         if src =='string' or src=='toscawidgets':
             return lambda **kw: string.Template(template).substitute(**dict(kw['info']['w'].iteritems()))
         #what the hell causes this