diff options
author | Oliver Poignant <oliver@poignant.se> | 2016-05-08 01:19:03 +0200 |
---|---|---|
committer | Oliver Poignant <oliver@poignant.se> | 2016-05-08 01:19:03 +0200 |
commit | 6e6fd2e4f13cfb827ae1f5a0c3e83f14cc1fa15a (patch) | |
tree | 5a8d88d329413a0e9b8f786529c4ee2ce118fbe7 /test/stubs/git.py | |
parent | ae3c50f997427bc128ff303b4a3dbaea19c18fde (diff) | |
download | Git-Auto-Deploy-6e6fd2e4f13cfb827ae1f5a0c3e83f14cc1fa15a.zip Git-Auto-Deploy-6e6fd2e4f13cfb827ae1f5a0c3e83f14cc1fa15a.tar.gz Git-Auto-Deploy-6e6fd2e4f13cfb827ae1f5a0c3e83f14cc1fa15a.tar.bz2 |
Automated testing of weebhook request handling
Diffstat (limited to 'test/stubs/git.py')
-rw-r--r-- | test/stubs/git.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/stubs/git.py b/test/stubs/git.py new file mode 100644 index 0000000..d023a51 --- /dev/null +++ b/test/stubs/git.py @@ -0,0 +1,16 @@ +class GitWrapper(object): + + @staticmethod + def pull(*args, **kwargs): + """Fake git pull""" + return 0 + + @staticmethod + def clone(*args, **kwargs): + """Fake git clone""" + return 0 + + @staticmethod + def deploy(*args, **kwargs): + """Fake deploy""" + return 0 |