Browse Source

Fix path to test files

master
Ruben Verweij 8 years ago
parent
commit
0d3e07e521
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      tests/test_reader.py

+ 4
- 2
tests/test_reader.py View File

@ -1,4 +1,5 @@
import unittest import unittest
from os import path
from nd2reader.reader import ND2Reader from nd2reader.reader import ND2Reader
@ -6,9 +7,10 @@ from nd2reader.reader import ND2Reader
class TestReader(unittest.TestCase): class TestReader(unittest.TestCase):
def setUp(self): def setUp(self):
dir_path = path.dirname(path.realpath(__file__))
self.files = [ self.files = [
'./test_data/data001.nd2',
'./test_data/data002.nd2'
path.join(dir_path, 'test_data/data001.nd2'),
path.join(dir_path, 'test_data/data002.nd2')
] ]
def test_sizes_data_001(self): def test_sizes_data_001(self):


Loading…
Cancel
Save