mirror of
https://github.com/topydo/topydo.git
synced 2024-05-20 13:58:33 +00:00
Revert "Fix geo test time errors in tests"
This reverts commit 715a7216b7
.
This commit is contained in:
parent
0ccb913df6
commit
8f71fffba1
|
@ -18,7 +18,6 @@ import codecs
|
|||
import os
|
||||
import re
|
||||
import sys
|
||||
import time
|
||||
import unittest
|
||||
from collections import namedtuple
|
||||
|
||||
|
@ -603,7 +602,7 @@ class ListCommandIcalTest(CommandTest):
|
|||
self.assertEqual(self.errors, "")
|
||||
|
||||
|
||||
@freeze_time('2016-11-17 00:00:00', tz_offset = time.timezone/3600)
|
||||
@freeze_time('2016, 11, 17')
|
||||
class ListCommandDotTest(CommandTest):
|
||||
def setUp(self):
|
||||
self.maxDiff = None
|
||||
|
@ -626,7 +625,7 @@ class ListCommandDotTest(CommandTest):
|
|||
self.assertEqual(self.errors, "")
|
||||
|
||||
|
||||
@freeze_time('2016-12-6 00:00:00', tz_offset = time.timezone/3600)
|
||||
@freeze_time('2016, 12, 6')
|
||||
class ListCommandGroupTest(CommandTest):
|
||||
def test_group1(self):
|
||||
todolist = load_file_to_todolist("test/data/ListCommandGroupTest.txt")
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
import time
|
||||
import unittest
|
||||
from collections import namedtuple
|
||||
|
||||
|
@ -36,7 +35,7 @@ except ImportError:
|
|||
import mock
|
||||
|
||||
|
||||
@freeze_time("2015-11-06 00:00:00", tz_offset = time.timezone/3600)
|
||||
@freeze_time("2015, 11, 06")
|
||||
class ListFormatTest(CommandTest):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
|
||||
import os
|
||||
import tempfile
|
||||
import time
|
||||
import unittest
|
||||
from datetime import date
|
||||
from glob import glob
|
||||
|
@ -62,7 +61,7 @@ def command_executer(p_cmd, p_args, p_todolist, p_archive=None, *params):
|
|||
archive_command.execute()
|
||||
|
||||
|
||||
@freeze_time('2015-11-06 00:00:00', tz_offset=time.timezone/3600)
|
||||
@freeze_time('2015, 11, 06')
|
||||
class RevertCommandTest(CommandTest):
|
||||
def setUp(self):
|
||||
super().setUp()
|
||||
|
|
Loading…
Reference in a new issue