Revision: 58755590a157
Branch:   default
Author:   Janne Piironen <janne.piiro...@gmail.com>
Date:     Mon Jun 16 12:38:39 2014 UTC
Log:      DateTime: fixed test to accept equal datetime values
http://code.google.com/p/robotframework/source/detail?r=58755590a157

Modified:
 /atest/testdata/standard_libraries/datetime/get_current_date.txt

=======================================
--- /atest/testdata/standard_libraries/datetime/get_current_date.txt Mon Jun 16 12:11:19 2014 UTC +++ /atest/testdata/standard_libraries/datetime/get_current_date.txt Mon Jun 16 12:38:39 2014 UTC
@@ -40,4 +40,4 @@
     ${before} =  Evaluate  datetime.datetime.now().isoformat()  datetime
     ${dt} =  Get Current Date   result_format=datetime
     ${after} =  Evaluate  datetime.datetime.now().isoformat()  datetime
-    Should Be True  "${before}" < "${dt.isoformat()}" < "${after}"
+    Should Be True  "${before}" <= "${dt.isoformat()}" <= "${after}"

--

--- You received this message because you are subscribed to the Google Groups "robotframework-commit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to robotframework-commit+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to