Skip to content
Permalink
Browse files

add first dummy class

  • Loading branch information...
root
root committed Dec 26, 2013
1 parent 6f6faa3 commit 1659e22c151c42a4df9c8761fcdb4606184a5496
Showing with 2,901 additions and 2 deletions.
  1. +5 −1 RPi.TC.egg-info/SOURCES.txt
  2. 0 rpitc/io/__init__.py
  3. +2 −0 rpitc/io/out.py
  4. +2,861 −0 runtests.py
  5. +14 −1 setup.py
  6. 0 tests/__init__.py
  7. +19 −0 tests/test_out.py
@@ -6,4 +6,8 @@ RPi.TC.egg-info/dependency_links.txt
RPi.TC.egg-info/entry_points.txt
RPi.TC.egg-info/not-zip-safe
RPi.TC.egg-info/top_level.txt
rpitc/__init__.py
rpitc/__init__.py
rpitc/io/__init__.py
rpitc/io/out.py
rpitc/tests/__init__.py
rpitc/tests/out_test.py
No changes.
@@ -0,0 +1,2 @@
class Out(object):
pass
2,861 runtests.py

Large diffs are not rendered by default.

@@ -1,6 +1,18 @@
from setuptools import setup, find_packages
from setuptools import setup, find_packages, Command
import sys, os

class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys,subprocess
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)


version = '0.1'

setup(name='RPi.TC',
@@ -9,6 +21,7 @@
long_description="""\
Control model railway with Raspberry PI""",
classifiers=[], # Get strings from http://pypi.python.org/pypi?%3Aaction=list_classifiers
cmdclass = {'test':PyTest},
keywords='model railway raspberry pi',
author='Stefan',
author_email='stefan@terminal21.de',
No changes.
@@ -0,0 +1,19 @@
#import unittest
#from rpitc.io.out import Out
#
#class OutTest(unittest.TestCase):
#
# def test_out(self):
# out = Out()
# self.assertIsInstance(out, Out)
#
#
#if __name__ == "__main__":
# unittest.main()

from rpitc.io.out import Out

class TestOut:
def test_init(self):
out = Out()
assert isinstance(out, Out)

0 comments on commit 1659e22

Please sign in to comment.
You can’t perform that action at this time.