def test_archive_named_snapshot(self, capfd):
        # First, create a metadata file
        out, _ = run_ofSM('record -p mockProject', capfd=capfd)
        assert 'metadata.json does not exist yet. Creating' in out

        # Now, create a named snapshot
        out, _ = run_ofSM('archive -p mockProject -n someName', capfd=capfd)
        assert ('Metadata file metadata.json does not exist yet. Creating'
                not in out)
        assert out in 'Entry someName does not exist yet. Creating...'
dataset/ETHPy150Open bilderbuchi/ofStateManager/tests/test_archive.py/TestArchive.test_archive_named_snapshot/swapped operands of `in`