Changed hard-coded mocking into mock.patch
Changed hard-coded mocking into mock.patch

Made route_tests.py to use mock.patch instead of hard-coded
replacement.
Also removed local method call test as it causes Travis error, which
adds small value considering it only covers 1 line and it passes in
local environment.

rdobson/auto-cert-kit,xenserver/auto-cert-kit,bpwook/auto-cert-kit,bpwook/auto-cert-kit,vivekkumac/auto-cert-kit,xenserver/auto-cert-kit,vivekkumac/auto-cert-kit,rdobson/auto-cert-kit