mirror of
https://github.com/httpie/cli.git
synced 2025-08-15 19:58:03 +02:00
Removed last dependencies on unittest. All tests are pytest-only.
This commit is contained in:
@ -1,6 +1,4 @@
|
||||
"""HTTP authentication-related tests."""
|
||||
from unittest import TestCase
|
||||
|
||||
import requests
|
||||
import pytest
|
||||
|
||||
@ -8,7 +6,7 @@ from tests import http, httpbin, HTTP_OK
|
||||
import httpie.input
|
||||
|
||||
|
||||
class AuthTest(TestCase):
|
||||
class TestAuth:
|
||||
def test_basic_auth(self):
|
||||
r = http('--auth=user:password', 'GET',
|
||||
httpbin('/basic-auth/user/password'))
|
||||
|
Reference in New Issue
Block a user