Skip to content

Commit

Permalink
Merge 6e1d2d8 into 2517b34
Browse files Browse the repository at this point in the history
  • Loading branch information
aschroed committed Apr 12, 2021
2 parents 2517b34 + 6e1d2d8 commit 991b328
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "Submit4DN"
version = "2.0.3"
version = "2.0.4"
description = "Utility package for submitting data to the 4DN Data Portal"
authors = ["4DN-DCIC Team <support@4dnucleome.org>"]
license = "MIT"
Expand All @@ -12,7 +12,7 @@ packages = [
]

[tool.poetry.dependencies]
python = ">=3.4,<3.8"
python = ">=3.6,<3.8"
attrs = ">=16.0.0"
awscli = ">=1.15.42,<2.0.0"
py = "1.4.31"
Expand Down
4 changes: 2 additions & 2 deletions tests/test_import_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ def test_attachment_wrong_path():

@pytest.mark.webtest
def test_attachment_url():
attach = imp.attachment("https://www.le.ac.uk/oerresources/bdra/html/page_09.htm")
assert attach['download'] == 'page_09.htm'
attach = imp.attachment("http://example.com/index.html")
assert attach['download'] == 'index.html'
assert attach['type'] == 'text/html'
assert attach['href'].startswith('data:text/html;base64')

Expand Down

0 comments on commit 991b328

Please sign in to comment.