ryansurf / cli-surf

Get surf and ocean data from the command line interface
7 stars 10 forks source link

Seperate tests #31

Closed ryansurf closed 1 month ago

ryansurf commented 1 month ago

All the unit tests are in tests/test_code.py. It works fine, but we should separate these tests into specific files.

We can make something like:

.
└── tests/
    ├── test_api.py
    ├── test_helper.py
    ├── test_cli.py
    ├── test_gpt.py
    └── test_server.py

With each test file testing the appropriate functions (test_api.py tests files in src/api.py and so on...)

ryansurf commented 1 month ago

83768f0d744b5a38a376c570a913da70cc12733f