Skip to content

Allow skipping internet dependent tests, fix npm dump - #166

Merged
haikoschol merged 2 commits into
aboutcode-org:developfrom
sbs2001:develop
Mar 22, 2020
Merged

Allow skipping internet dependent tests, fix npm dump#166
haikoschol merged 2 commits into
aboutcode-org:developfrom
sbs2001:develop

Conversation

@sbs2001

@sbs2001 sbs2001 commented Mar 18, 2020

Copy link
Copy Markdown
Collaborator

This is done by adding pytest markers on the tests which require internet connections , thus they can be skipped if necessary easily.

Simply run DJANGO_DEV=1 pytest -m "not webtest"

Signed-off-by: Shivam Sandbhor shivam.sandbhor@gmail.com

sbs2001 added 2 commits March 18, 2020 11:27
… connection

Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
Signed-off-by: Shivam Sandbhor <shivam.sandbhor@gmail.com>
@sbs2001 sbs2001 changed the title Skip internet dependent tests Allow skipping internet dependent tests, fix npm dump Mar 20, 2020
@sbs2001

sbs2001 commented Mar 20, 2020

Copy link
Copy Markdown
Collaborator Author

npm dump was missing 'type' field for unaffected packages , this is fixed

@haikoschol
haikoschol merged commit 4c952ad into aboutcode-org:develop Mar 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants