def METHOD_NAME(self):
    nrc = self.make_nrc("""\
        machine host1.domain.com login log1 password pass1 account acct1
        default login log2 password pass2
        """)
    self.assertEqual(nrc.hosts['host1.domain.com'],
                     ('log1', 'acct1', 'pass1'))
    self.assertEqual(nrc.hosts['default'], ('log2', None, 'pass2'))
    nrc2 = self.make_nrc(nrc.__repr__())
    self.assertEqual(nrc.hosts, nrc2.hosts)