omaciel/robottelo — pull request #706 by kbidarkar (2014-04-15 16:17:08+00:00)
Title: Bug: 1082632 , Sync plan tests for startdate and starttime

1) If data-driven is required, please let me know along with what data I need to vary for these tests.
2) Going through the bug, realised that the syncplan does not honour the time, but honours the day.
3) But still added a test case to even validate the date(the day in particular)
4) # Removed zero padded hrs & mins as fetching via web-UI doesn't have it
Example: AssertionError: 'Apr 15, 2014 8:34:32 PM' != 'Apr 15, 2014 08:44:31 PM'
# Removed the seconds info as it would be too quick to validate via UI.
Example : AssertionError: 'Apr 15, 2014 8:49:11 PM' != 'Apr 15, 2014 8:59:12 PM'
fetch_starttime = startdate.strftime("%b %d, %Y %I:%M:%S %p").\
lstrip("0").replace(" 0", " ").rpartition(':')[0]
5) The newly added locator here is fine, checked for locales too.