Skip to content

Commit

Permalink
Got the test to run
Browse files Browse the repository at this point in the history
  • Loading branch information
willu47 committed Oct 19, 2023
1 parent c357b99 commit 8227222
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Run the tests:

hatch run test

Run linting for style, typing and format:

hatch run lint:al

The version number is taken from the git tag. Before building and publishing the package, you should create a new annotated tag.

First, check the previous tags:
Expand Down
4 changes: 2 additions & 2 deletions tests/test_results.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import pandas as pd
import os
import results_to_next_step as rtns
from osemosys_step import results_to_next_step as rtns

class TestResultsTransfer:

Expand All @@ -11,7 +11,7 @@ def test_sum_rescap_newcap(self):
res_path = os.path.join(folder, 'results')

res_cap = pd.read_csv(os.path.join(dp_path, 'ResidualCapacity.csv'))

data = [
['TEST','TECA',0,1.5],
['TEST','TECB',0,1],
Expand Down

0 comments on commit 8227222

Please sign in to comment.