test: remove the test for install command
GitHub is already reinstalls the library with it with every test
This commit is contained in:
@@ -4,8 +4,7 @@ from unittest.mock import patch, MagicMock
|
|||||||
import pytest_httpbin
|
import pytest_httpbin
|
||||||
|
|
||||||
from scrapling.cli import (
|
from scrapling.cli import (
|
||||||
install, shell, mcp,
|
shell, mcp, get, post, put, delete, fetch, stealthy_fetch
|
||||||
get, post, put, delete, fetch, stealthy_fetch
|
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@@ -21,11 +20,6 @@ class TestCLI:
|
|||||||
def runner(self):
|
def runner(self):
|
||||||
return CliRunner()
|
return CliRunner()
|
||||||
|
|
||||||
def test_install_command(self, runner):
|
|
||||||
"""Test install command"""
|
|
||||||
result = runner.invoke(install)
|
|
||||||
assert result.exit_code == 0
|
|
||||||
|
|
||||||
def test_shell_command(self, runner):
|
def test_shell_command(self, runner):
|
||||||
"""Test shell command"""
|
"""Test shell command"""
|
||||||
with patch('scrapling.core.shell.CustomShell') as mock_shell:
|
with patch('scrapling.core.shell.CustomShell') as mock_shell:
|
||||||
|
|||||||
Reference in New Issue
Block a user