def test_record_addon_invalid(self, capfd):
        open(os.path.join(os.getcwd(), 'mockOF', 'addons', 'ofxSomeAddon',
                        'untracked.txt'), 'w').close()
        _, err = run_ofSM('record -p mockProject', capfd=capfd,
                          desired_exit_status=1)
        assert 'Repository has untracked files' in err
dataset/ETHPy150Open bilderbuchi/ofStateManager/tests/test_record.py/TestRecord.test_record_addon_invalid/original