An open API service indexing awesome lists of open source software.

https://github.com/gakurualex/fuel_gauge

CS50's Introduction to Programming with Python Exception Problem Set 3
https://github.com/gakurualex/fuel_gauge

exception-handling mock pytest python3 raise unittest

Last synced: 2 months ago
JSON representation

CS50's Introduction to Programming with Python Exception Problem Set 3

Awesome Lists containing this project

README

        

# Fuel Gauge #

CS50's Introduction to Programming with Python problem set 3 on Exceptions

# Prerequisite #

Git clone the repo

```bash
git clone [email protected]:GakuruAlex/fuel_gauge.git
```

change directory to nutrition

```bash
cd fuel_gauge
```

Create a virtualenv

```bash
python3 -m venv myenvname
```

Activate virtualenv

```bash
source myenvname/bin/activate
```

Install requirements

```bash
pip install -r requirements.txt
```

# Usage #

## Run program ##

```bash
python3 fuel_gauge.py
```

## Run tests ##

```bash
pytest -v
```

# Author #

[Alex Gakuru](https://github.com/GakuruAlex)