Skip to content

Commit

Permalink
Fix MyPy CI tests (#8518)
Browse files Browse the repository at this point in the history
  • Loading branch information
karthiknadig authored Nov 12, 2019
1 parent 6e260e7 commit c634ffd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/linters/lint.args.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,8 @@ suite('Linting - Arguments', () => {
});
test('MyPy', async () => {
const linter = new MyPy(outputChannel.object, serviceContainer);
const expectedArgs = [fileUri.fsPath];
const expectedPath = workspaceUri ? path.join(path.basename(path.dirname(fileUri.fsPath)), path.basename(fileUri.fsPath)) : path.basename(fileUri.fsPath);
const expectedArgs = [expectedPath];
await testLinter(linter, expectedArgs);
});
test('Pydocstyle', async () => {
Expand Down

0 comments on commit c634ffd

Please sign in to comment.