Skip to content

Commit 480828a

Browse files
committed
fixed conflicts
2 parents 3623a6d + 9b46037 commit 480828a

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

nbgitpuller/handlers.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ def setup_plugins(self, provider):
4646
pm.load_setuptools_entrypoints("nbgitpuller", name=provider)
4747
return pm
4848

49+
<<<<<<< HEAD
4950
def handle_provider_zip(self, provider):
5051
pm = self.setup_plugins(provider)
5152
req_args = {k: v[0].decode() for k, v in self.request.arguments.items()}
@@ -58,6 +59,8 @@ def handle_provider_zip(self, provider):
5859
dl_thread.join()
5960
return dl_thread.result
6061

62+
=======
63+
>>>>>>> non-git-updates
6164
@gen.coroutine
6265
def progress_loop(self, queue):
6366
while True:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
packages=find_packages(),
2222
include_package_data=True,
2323
platforms='any',
24-
install_requires=['notebook>=5.5.0', 'tornado', 'requests', 'requests-file'],
24+
install_requires=['notebook>=5.5.0', 'tornado', 'aiohttp', 'aioresponses', 'pytest-asyncio'],
2525
data_files=[
2626
('etc/jupyter/jupyter_notebook_config.d', ['nbgitpuller/etc/nbgitpuller.json'])
2727
],

tests/test_download_puller.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ async def test_execute_unarchive(test_configuration):
7171
yield_str = ""
7272
async for line in ph.execute_unarchive("zip", archive_base + ".zip", temp_download_repo):
7373
yield_str += line
74+
<<<<<<< HEAD
7475
assert "inflating:" in yield_str
76+
=======
77+
>>>>>>> non-git-updates
7578
assert os.path.isfile("/tmp/download/hw/hw01/hw01.ipynb")
7679

7780

@@ -90,7 +93,10 @@ async def test_push_to_local_origin(test_configuration):
9093
async for line in ph.push_to_local_origin(temp_download_repo):
9194
yield_str += line
9295

96+
<<<<<<< HEAD
9397
assert "create mode" in yield_str
98+
=======
99+
>>>>>>> non-git-updates
94100
assert "[new branch]" in yield_str
95101

96102

0 commit comments

Comments
 (0)