Skip to content

Commit

Permalink
Try to failing test.
Browse files Browse the repository at this point in the history
  • Loading branch information
HaudinFlorence committed Mar 18, 2024
1 parent 8c6e88d commit 3a3ca31
Show file tree
Hide file tree
Showing 3 changed files with 4,248 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jupyter_drives/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ def _load_credentials(self):

# if not, try to load credentials from AWS CLI
aws_credentials_path = "~/.aws/credentials" #add read me about credentials path in windows: https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
if os.path_exists(aws_credentials_path):
if os.path.exists(aws_credentials_path):
self.access_key_id, self.secret_access_key, self.session_token = self._extract_credentials_from_file(aws_credentials_path)
return

Expand Down
6 changes: 3 additions & 3 deletions ui-tests/tests/jupyter_drives.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ test('should emit an activation console message', async ({ page }) => {

await page.goto();

expect(
logs.filter(s => s === 'JupyterLab extension @jupyter/drives is activated!')
).toHaveLength(1);
expect(logs.filter(s => s === 'AddDrives plugin is activated!')).toHaveLength(
1
);
});
Loading

0 comments on commit 3a3ca31

Please sign in to comment.