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

"""
test_pash
----------------------------------

Tests for `pash` module.
"""

import unittest

from pash import pash


class TestPash(unittest.TestCase):

    def setUp(self):
        pass

    def test_something(self):
        pass

    def tearDown(self):
        pass

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

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

"""
test_pash
----------------------------------

Tests for `pash` module.
"""

import py.test
from pash import pash

proc = pash.ShellProc()
proc.run('ls')

def test_no_newline():
    assert proc.get_val('stdout')[-1] != '\n'

Change tests to py.test