Skip to content

Commit bc64972

Browse files
fix tests
1 parent 48c916a commit bc64972

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

src/test/unittest/configuration/providers/flaskLaunch.unit.test.ts

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -41,28 +41,6 @@ suite('Debugging - Configuration Provider Flask', () => {
4141

4242
expect(file).to.be.equal('app.py');
4343
});
44-
test('Launch JSON with valid python path', async () => {
45-
const folder = { uri: Uri.parse(path.join('one', 'two')), name: '1', index: 0 };
46-
const state = { config: {}, folder };
47-
48-
await flaskLaunch.buildFlaskLaunchDebugConfiguration(instance(input), state);
49-
50-
const config = {
51-
name: DebugConfigStrings.flask.snippet.name,
52-
type: DebuggerTypeName,
53-
request: 'launch',
54-
module: 'flask',
55-
env: {
56-
FLASK_APP: 'app.py',
57-
FLASK_DEBUG: '1',
58-
},
59-
args: ['run', '--no-debugger', '--no-reload'],
60-
jinja: true,
61-
autoStartBrowser: false,
62-
};
63-
64-
expect(state.config).to.be.deep.equal(config);
65-
});
6644
test('Launch JSON with selected app path', async () => {
6745
const folder = { uri: Uri.parse(path.join('one', 'two')), name: '1', index: 0 };
6846
const state = { config: {}, folder };

0 commit comments

Comments
 (0)