from nose.tools import assert_equals
from openpassword.config import Config

class ConfigSpec:

    def it_sets_the_path_to_the_keychain(self):
        cfg = Config()
        cfg.set_path("path/to/keychain")
        assert_equals(cfg.get_path(), "path/to/keychain")


from nose.tools import *
from openpassword.config import Config

class ConfigSpec:

    def it_sets_the_path_to_the_keychain(self):
        cfg = Config()
        cfg.set_path("path/to/keychain")
        eq_(cfg.get_path(), "path/to/keychain")


Update config test to use eq_ matcher
Update config test to use eq_ matcher
