#!/usr/bin/env python
# -*- coding: utf-8 -*-

"""
test_pyptouch
----------------------------------

Tests for `pyptouch` module.
"""

import unittest

# from pyptouch import reader


class TestPTReader(unittest.TestCase):

    def setUp(self):  # NOQA
        pass

    def test_something(self):
        pass

    def tearDown(self):  # NOQA
        pass

if __name__ == '__main__':
    unittest.main()

@@ -128,16 +128,65 @@
 e.%0A%22%22%22%0A%0A
+from __future__ import print_function%0A%0Aimport os%0A
 import u
@@ -194,18 +194,16 @@
 ittest%0A%0A
-# 
 from pyp
@@ -207,24 +207,31 @@
 pyptouch
+.reader
  import 
 reader%0A%0A
@@ -226,16 +226,55 @@
 ort 
-r
+PTR
 eader%0A%0A
+testdir = os.path.dirname(__file__)%0A%0A
 %0Acla
@@ -339,36 +339,91 @@
  # NOQA%0A        
-pass
+self.ptr = PTReader(os.path.join(testdir, %22python.ptouch%22))
 %0A%0A    def test_s
@@ -425,17 +425,12 @@
 est_
-something
+read
 (sel
@@ -441,20 +441,31 @@
         
-pass
+self.ptr.read()
 %0A%0A    de

Test reader.