def test_export_with_revision(sh): svn.export("http://foo", "bar", revision="1234") assert sh.called assert sh.call_args[0][0] == "svn export -r 1234 http://foo bar"
def test_simple_export(sh): svn.export("http://foo", "bar") assert sh.called assert sh.call_args[0][0] == "svn export http://foo bar"