Skip to content

Commit d335766

Browse files
Fix duedate sync (#9)
Fix #5 - Update script, including logging - Update README.md - Add log statement. - Fix some warnings. - Remove unneeded getters
1 parent 78735a0 commit d335766

File tree

6 files changed

+5
-7
lines changed

6 files changed

+5
-7
lines changed

projectHypeBerry.egg-info/PKG-INFO

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 1.0
22
Name: Project_Hype-Berry
3-
Version: 2.1.2
3+
Version: 2.1.1
44
Summary: An API app for syncing todoist and habitica tasks
55
Home-page: https://github.com/programmerPhysicist/Project_Hype-Berry
66
Author: UNKNOWN

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name='Project_Hype-Berry',
7-
version='2.1.2',
7+
version='2.1.1',
88
url='https://github.com/programmerPhysicist/Project_Hype-Berry',
99
description='An API app for syncing todoist and habitica tasks',
1010
packages=['Project_Hype-Berry'],

source/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
# TODO: Main.py overdue for an overhaul! Let's see.
1818
# Version control, basic paths
19-
VERSION = 'Project_Hype-Berry version 2.1.2'
19+
VERSION = 'Project_Hype-Berry version 2.1.1'
2020
TASK_VALUE_BASE = 0.9747 # http://habitica.wikia.com/wiki/Task_Value
2121
HABITICA_REQUEST_WAIT_TIME = 0.5 # time to pause between concurrent requests
2222
HABITICA_TASKS_PAGE = '/#/tasks'

test/fixtures/common_fixtures.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,6 @@ def auth_cfg(tmp_path_factory):
4545
if os.path.exists(src_path):
4646
shutil.copy(src_path, cfg_test)
4747
os.chdir(tmp)
48-
else:
49-
raise AssertionError
5048

5149
yield
5250
# clean-up

test/fixtures/helpers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ class TestHelpers:
1313
@staticmethod
1414
def get_root():
1515
dir_path = os.path.dirname(os.path.realpath(__file__))
16-
root = dir_path.split("test")[0]
16+
root = dir_path.split("Project_Hype-Berry")[0]
17+
root = os.path.join(root, "Project_Hype-Berry")
1718
return root
1819

1920
@staticmethod

test/integration/oneWaySyncTests/end_to_end_integration_test.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,6 @@ def test_end_to_end(self,
131131
# mock read in of pickle file
132132
pkl_file = mock()
133133
pkl_load = mock()
134-
when2(open, ...).thenCallOriginalImplementation()
135134
when2(open, 'oneWay_matchDict.pkl', 'rb').thenReturn(pkl_file)
136135
when(pickle).Unpickler(...).thenReturn(pkl_load)
137136
when(pkl_load).load().thenReturn({})

0 commit comments

Comments
 (0)