Ignore:
Timestamp:
09/02/13 15:58:35 (8 years ago)
Author:
Stefano Rivera <stefano@…>
Branch:
default
Phase:
public
Rebase:
30313938373937323863363239653737303964366434373236633865646334356430646532313364
Message:

Support integer dict keys

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nagslang/tests/test_yamlish.py

    r130 r136  
    9292        })
    9393
     94    def test_int_dict(self):
     95        self.roundtrip({
     96            1: 'foo',
     97            2: 'bar',
     98            3: ['baz', 'qux'],
     99        })
     100
    94101    def test_quoted(self):
    95102        # a literal true is True, but 'true' is a string
Note: See TracChangeset for help on using the changeset viewer.