I have a Python script which is responsible for updating SVN repository (in a nutshell) and checking it.
Now I'd like to write some functional tests for the script. To check whether SVN update has been performed correctly, I have an idea for manual test scenario, to check at first revision number of a particular path, perform actual SVN update and check if revision number is changed.
But I'm wondering what is the best way to test anything like that with Python.
Should I really perform the SVN update, which may take a lot of time? Or maybe this is a good place for mocks? (I've never used any mocks, but as fair as I know they are mainly dedicated for unit testing, not functional testing). If mocks are okay - could you advise me how to design such kind of a test?