test_bar.py 234 B

12345678910
  1. #! /usr/bin/env python
  2. # encoding: utf-8
  3. # Calle Rosenquist, 2016 (xbreak)
  4. import unittest
  5. from bar import bar
  6. class test_bar(unittest.TestCase):
  7. def test_read_resource(self):
  8. self.assertEqual('resource!\n', bar.read_resource())