Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ jobs:
pip install .
- name: Run the tests
run: |
python -m unittest
python -m unittest discover tests
Empty file removed tests/__init__.py
Empty file.
4 changes: 3 additions & 1 deletion tests/test_easygdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@
import numpy as np
import easygdf

from .utils import load_test_resource

def load_test_resource(path):
return open(os.path.join(os.path.dirname(os.path.realpath(__file__)), path), "rb")


class TestEasyGDFHelpers(unittest.TestCase):
Expand Down
4 changes: 3 additions & 1 deletion tests/test_initial_distribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@

import easygdf

from .utils import load_test_resource

def load_test_resource(path):
return open(os.path.join(os.path.dirname(os.path.realpath(__file__)), path), "rb")


class TestEasyGDFInitialDistribution(unittest.TestCase):
Expand Down
4 changes: 3 additions & 1 deletion tests/test_screens_touts.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
import unittest
import easygdf

from .utils import load_test_resource

def load_test_resource(path):
return open(os.path.join(os.path.dirname(os.path.realpath(__file__)), path), "rb")


class TestEasyGDFScreensTouts(unittest.TestCase):
Expand Down
5 changes: 0 additions & 5 deletions tests/utils.py

This file was deleted.

Loading