Skip to content

Commit

Permalink
Add some more assertions / profile map checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jdcasey committed Mar 13, 2017
1 parent 6522545 commit 2170fa7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ class TestConfigLoad(NexupBaseTest):

def test_init(self):
config_file = config.init_config()
config.load('prod')
conf = config.load('prod')
self.assertEqual(conf.get_profile_id('MYPRODUCT', is_ga=True) is None, False)
self.assertEqual(conf.get_profile_id('MYPRODUCT', is_ga=False) is None, False)

def test_minimal_from_default(self):
url='http://nowhere.com/nexus'
Expand Down

0 comments on commit 2170fa7

Please sign in to comment.