From bc05f89f650dff904b98e1a5e489ebe069170135 Mon Sep 17 00:00:00 2001 From: Sam Kottler Date: Sun, 30 Jun 2013 14:29:08 -0400 Subject: Add some stuff to the gitignore and initial test setup --- test/interface.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/interface.py (limited to 'test') 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") -- cgit