summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSam Kottler <skottler@fedoraproject.org>2013-06-30 14:29:08 -0400
committerSam Kottler <skottler@fedoraproject.org>2013-06-30 14:29:08 -0400
commitbc05f89f650dff904b98e1a5e489ebe069170135 (patch)
tree046980fefe045c6542052c3d1c89bd41957caef4 /test
parentc95abffc7977d598307a6f5781f1bd973c4e5bb9 (diff)
downloadkicker-master.tar.gz
kicker-master.tar.xz
kicker-master.zip
Add some stuff to the gitignore and initial test setupHEADmaster
Diffstat (limited to 'test')
-rw-r--r--test/interface.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/interface.py b/test/interface.py
new file mode 100644
index 0000000..b207551
--- /dev/null
+++ b/test/interface.py
@@ -0,0 +1,10 @@
+from nose.tools import assert_equal
+
+class Interface(object):
+ @classmethod
+ def setup_klass(klass):
+ pass
+
+ def test_interface_methods(self):
+ interface = Interface("eth0 52:54:00:d8:97:28")
+ assert_equal(interface.get_mac_address(), "52:54:00:d8:97:28")