From 157fa3868a04b6273bad83795b42acb5e65ed7b7 Mon Sep 17 00:00:00 2001 From: Dane Summers Date: Tue, 21 Aug 2012 13:59:39 -0400 Subject: [PATCH] added TODO for test scenarios to add --- library/subversion | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/library/subversion b/library/subversion index 3a2456f757c..5489089573a 100644 --- a/library/subversion +++ b/library/subversion @@ -33,6 +33,21 @@ logger = logging.getLogger('subversion') #logger.addHandler(hdlr) logger.setLevel(logging.DEBUG) +# TODO test scenarios: +# hacking/test-module -m library/subversion ; cat /tmp/subversion.log +# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\"" ; cat /tmp/subversion.log +# hacking/test-module -m library/subversion -a "dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log +# when /tmp/gnconf doesn't exist: +# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log +# when /tmp/gnconf is a folder, but its not an svn repo +# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log +# when /tmp/gnconf is a folder, but its a file (not a folder) +# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log +# when /tmp/gnconf is a folder, when its a different svn URL +# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log +# when /tmp/gnconf is a folder, when its a different revision +# hacking/test-module -m library/subversion -a "repo=\"svn+ssh://pen.syskey.com/opt/subversion/gnconf\" dest=\"/tmp/gnconf\"" ; cat /tmp/subversion.log + def get_version(dest): ''' samples the version of the git repo ''' logger.debug('get_version')