1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

fix date parser tests - local tests only since timezones may not match on github actions VMs

This commit is contained in:
Kelly Brazil
2021-03-22 21:05:39 -07:00
parent 1ef231e26a
commit 6bc21d3c73
3 changed files with 1 additions and 1 deletions

View File

@ -7,3 +7,4 @@ echo "Running local-only tests:"
echo echo
python3 -m unittest tests.localtest_last -v python3 -m unittest tests.localtest_last -v
python3 -m unittest tests.localtest_date -v

View File

@ -23,7 +23,6 @@ class MyTests(unittest.TestCase):
with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/last-wF.json'), 'r', encoding='utf-8') as f: with open(os.path.join(THIS_DIR, os.pardir, 'tests/fixtures/centos-7.7/last-wF.json'), 'r', encoding='utf-8') as f:
self.centos_7_7_last_wF_json = json.loads(f.read()) self.centos_7_7_last_wF_json = json.loads(f.read())
def test_last_F_ubuntu_20_4(self): def test_last_F_ubuntu_20_4(self):
""" """
Test 'last -F' on Ubuntu 20.4 Test 'last -F' on Ubuntu 20.4