def METHOD_NAME(self):
    data = (b"#REVISION: 1\n"
            b"#PRIVATE: YES\n"
            b"REVISION: 2\n"
            b"PRIVATE: NO\n")
    with temporaryPath(data=data) as path:
        md = confmeta.read_metadata(path)
        self.assertEqual(md.revision, 1)
        self.assertEqual(md.private, True)