On Fri, Mar 13, 2015 at 5:32 AM, Collin Anderson wrote:
> Hi,
>
> You could try using freezegun to run the test as if it were a certain time
> of day.
> https://pypi.python.org/pypi/freezegun
Hi Collin,
thanks for the response.
After spent some time, finally I managed to get the testing.
I put
t will check the within and not within
business hour in one file that both will success whenever I run the
test code?
[1]https://docs.djangoproject.com/en/1.7/topics/testing/tools/#testing-responses
Thanks,
--
Zaki Akhmad
--
You received this message because you are subscribed to the Google Group
2 matches
Mail list logo