Skip to content

Commit

Permalink
remove dependency on package mock
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianegli committed Jul 22, 2022
1 parent cc1ab61 commit 0b473e9
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 10 deletions.
1 change: 0 additions & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
pytest-datafiles
pytest-cov
mock
black
refgenie
Sphinx
Expand Down
2 changes: 1 addition & 1 deletion tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"""

import unittest
from unittest import mock

import mock
from click.testing import CliRunner

import nf_core.__main__
Expand Down
2 changes: 1 addition & 1 deletion tests/test_download.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
import shutil
import tempfile
import unittest
from unittest import mock

import mock
import pytest

import nf_core.create
Expand Down
3 changes: 1 addition & 2 deletions tests/test_launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
import shutil
import tempfile
import unittest

import mock
from unittest import mock

import nf_core.create
import nf_core.launch
Expand Down
2 changes: 1 addition & 1 deletion tests/test_lint.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import subprocess
import tempfile
import unittest
from unittest import mock

import mock
import pytest
import requests
import yaml
Expand Down
2 changes: 1 addition & 1 deletion tests/test_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
import unittest
from datetime import datetime
from pathlib import Path
from unittest import mock

import mock
import pytest
from rich.console import Console

Expand Down
2 changes: 1 addition & 1 deletion tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import shutil
import tempfile
import unittest
from unittest import mock

import click
import mock
import pytest
import requests
import yaml
Expand Down
2 changes: 1 addition & 1 deletion tests/test_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
import shutil
import tempfile
import unittest
from unittest import mock

import git
import mock

import nf_core.create
import nf_core.sync
Expand Down
2 changes: 1 addition & 1 deletion tests/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
import shutil
import tempfile
import unittest
from unittest import mock

import mock
import pytest
import requests

Expand Down

0 comments on commit 0b473e9

Please sign in to comment.