diff options
author | gauravp94 <gparida94@gmail.com> | 2014-03-06 21:04:20 (GMT) |
---|---|---|
committer | gauravp94 <gparida94@gmail.com> | 2014-03-06 21:04:20 (GMT) |
commit | fc7bdeb7bf928058c16737351133b00af9f3c3e4 (patch) | |
tree | e817a514b60a24e51f54d4cb5e3c762686ce1634 | |
parent | dfc075728afa89892c0b50d58e3012ae856602a4 (diff) |
unit testtry1
-rw-r--r-- | tests/unit/test_functions.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/unit/test_functions.py b/tests/unit/test_functions.py new file mode 100644 index 0000000..d5eaa18 --- /dev/null +++ b/tests/unit/test_functions.py @@ -0,0 +1,16 @@ +#!/usr/bin/python + +import unittest +import dbus +from dbus.mainloop.glib import DBusGMainLoop +DBusGMainLoop(set_as_default=True) +bus = dbus.SessionBus() +import activity + +class FunctionsTest(unittest.TestCase): + + def setUp(self): + pass + + def test_label_string(self): + self.assertEqual(activity.set_text("Hello World!"), "Hello World!") |