def test_archive_description(self, capfd):
        # First, create an entry with a description
        out, _ = run_ofSM('record -p mockProject -d "my description"',
                          capfd=capfd)
        assert out in 'metadata.json does not exist yet. Creating'

        # Now, archive the "latest" entry
        out, _ = run_ofSM('archive -p mockProject', capfd=capfd)
        assert 'Writing description file' in out
        with open(os.path.join('mockProject', 'mockProject_archive',
                               'mockProject_latest_description.txt'),
                  'r') as descr:
            assert descr.readline() == "my description"
dataset/ETHPy150Open bilderbuchi/ofStateManager/tests/test_archive.py/TestArchive.test_archive_description/swapped operands of `in`