Ignore:
Timestamp:
09/02/13 13:27:51 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
36323566343330333330326464383930636237313130623336306361313666623936323563613936
Message:

Support boolean and None types

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/tests/test_yamlish.py

    r114 r119  
    8080        })
    8181
     82    def test_quoted(self):
     83        # a literal true is True, but 'true' is a string
     84        self.roundtrip({'foo': 'true'})
     85
     86    def test_literals(self):
     87        self.roundtrip({'foo': [True, False, None]})
     88
    8289
    8390class TestFromPyYAML(TestRoundTrip):
Note: See TracChangeset for help on using the changeset viewer.