Ignore:
Timestamp:
09/02/13 16:00:52 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
61343737613239313761666438333631313338386633336662343864393931656337643731396463
Message:

Support other interesting keys, too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/tests/test_yamlish.py

    r136 r137  
    9999        })
    100100
     101    def test_dict_keys(self):
     102        self.roundtrip({
     103            True: 'true',
     104            False: [],
     105            None: {},
     106            0.7: -0.7,
     107        })
     108
    101109    def test_quoted(self):
    102110        # a literal true is True, but 'true' is a string
Note: See TracChangeset for help on using the changeset viewer.