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

- from nose.tools import assert_equals
+ 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")
-         assert_equals(cfg.get_path(), "path/to/keychain")
+         eq_(cfg.get_path(), "path/to/keychain")
  
  
Update config test to use eq_ matcher
## Code Before:
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")


## Instruction:
Update config test to use eq_ matcher
## Code After:
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")

