def test_play_commands_rel(fs, mocker):
    os.environ['CCLI_SCRIPTS'] = 'tests/plugins/play/scripts'
    unimport()
    from connect.cli.ccli import main
    mocker.patch('connect.cli.plugins.play.commands.PlayOptions.context_file', None)
    mocker.patch('sys.argv', ['cmd', 'play', 'script1'])
    main()
def test_play_commands_rel(fs, mocker):
    os.environ['CCLI_SCRIPTS'] = 'tests/plugins/play/scripts'
    unimport()
    from connect.cli.ccli import main
    mocker.patch('connect.cli.plugins.play.commands.PlayOptions.context_file', None)
    mocker.patch('sys.argv', ['cmd', 'play', 'script1'])
    main()