You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Python External (3rd Party) API Testing Tutorial
2
+
3
+
## Description
4
+
5
+
This repository contains a simple example of how to test an external API with Pytest for the article - [How To Write Tests For External (3rd Party) API Calls with Pytest](https://pytest-with-eric.com/api-testing/pytest-external-api-testing/)
6
+
7
+
## Usage
8
+
9
+
Create a virtual environment and install the dependencies:
10
+
11
+
```bash
12
+
$ python3 -m venv venv
13
+
$ source venv/bin/activate
14
+
$ pip install -r requirements.txt
15
+
```
16
+
17
+
To run the tests, you can use the following command:
18
+
19
+
```bash
20
+
$ pytest
21
+
```
22
+
23
+
If you have any questions about the project please raise an Issue on GitHub.
0 commit comments