Skip to content

Commit ca2bfc1

Browse files
committed
test: remove poetry test for pre-release version
The test was introduced to test the behavior of a particular pre-release version of poetry, prior to version 1.0.0 being released. It has since been released on Dec 12, 2019. Refs: https://python-poetry.org/blog/announcing-poetry-1-0-0.html Refs: #395 Signed-off-by: Mike Fiedler <[email protected]>
1 parent 0a865eb commit ca2bfc1

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

test.js

-15
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ const sls = mkCommand('sls');
5252
const git = mkCommand('git');
5353
const npm = mkCommand('npm');
5454
const perl = mkCommand('perl');
55-
const poetry = mkCommand('poetry');
5655

5756
const setup = () => {
5857
removeSync(getUserCachePath());
@@ -1910,17 +1909,3 @@ test(
19101909
},
19111910
{ skip: !canUseDocker() }
19121911
);
1913-
1914-
// From this point on, the version of the poetry is 1.0.0a0
1915-
test('poetry1.0.0a0 py3.6 can package flask with default options', t => {
1916-
process.chdir('tests/poetry');
1917-
const path = npm(['pack', '../..']);
1918-
npm(['i', path]);
1919-
poetry(['self', 'update', '--preview', '1.0.0a0']);
1920-
sls(['package']);
1921-
const zipfiles = listZipFiles('.serverless/sls-py-req-test.zip');
1922-
t.true(zipfiles.includes(`flask${sep}__init__.py`), 'flask is packaged');
1923-
t.true(zipfiles.includes(`bottle.py`), 'bottle is packaged');
1924-
t.true(zipfiles.includes(`boto3${sep}__init__.py`), 'boto3 is packaged');
1925-
t.end();
1926-
});

0 commit comments

Comments
 (0)