Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix tests #185

Merged
merged 3 commits into from
Jun 28, 2024
Merged

Fix tests #185

merged 3 commits into from
Jun 28, 2024

Conversation

LaihoE
Copy link
Owner

@LaihoE LaihoE commented Jun 28, 2024

No description provided.

@@ -4,58 +4,59 @@
import pandas as pd
from demoparser2 import DemoParser

demo_path = "../parser/test_demo.dem"

class SignatureTest(TestCase):
def test_parse_header_signature(self):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a straight up string path in a file is always relative to the location that you are calling the file from, not the path of the file.

Copy link
Owner Author

@LaihoE LaihoE Jun 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be correct then? we are in src/python and want to refer to src/parser/test_demo.dem?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, yeah. I didnt read it fully.

@LaihoE LaihoE changed the title trigger tests Fix tests Jun 28, 2024
@LaihoE LaihoE merged commit d09e467 into main Jun 28, 2024
1 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants