Skip to content
This repository was archived by the owner on Oct 24, 2025. It is now read-only.

Commit 16d0fa1

Browse files
jaysonsantosThomas Pansino
authored andcommitted
Make tests break with git dependencies
1 parent 21508d3 commit 16d0fa1

File tree

3 files changed

+32
-27
lines changed

3 files changed

+32
-27
lines changed

test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -727,7 +727,8 @@ test('poetry py3.6 can package flask with default options', t => {
727727
sls(['package']);
728728
const zipfiles = listZipFiles('.serverless/sls-py-req-test.zip');
729729
t.true(zipfiles.includes(`flask${sep}__init__.py`), 'flask is packaged');
730-
t.true(zipfiles.includes(`boto3${sep}__init__.py`), 'boto3 is packaged');
730+
t.true(zipfiles.includes(`bottle${sep}__init__.py`), 'bottle is packaged');
731+
t.false(zipfiles.includes(`boto3${sep}__init__.py`), 'boto3 is NOT packaged');
731732
t.end();
732733
});
733734

tests/poetry/poetry.lock

Lines changed: 29 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/poetry/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ["Your Name <you@example.com>"]
77
[tool.poetry.dependencies]
88
python = "^3.6"
99
Flask = "^1.0"
10-
bottle = "^0.12.16"
10+
bottle = {git = "ssh://git@github.com/bottlepy/bottle.git", tag = "0.12.16"}
1111
boto3 = "^1.9"
1212

1313
[tool.poetry.dev-dependencies]

0 commit comments

Comments
 (0)