Beispiel #1
0
 def test_acquire_environment_five(self):
     acquire = AcquireEnvironment.load(fixture.SECTIONS_05)
     val = acquire()
     self.assertEqual(val, 'dev')
Beispiel #2
0
 def test_acquire_environment_two(self):
     acquire = AcquireEnvironment.load(fixture.SECTIONS_02)
     val = acquire()
     self.assertEqual(val, 'stage')
Beispiel #3
0
 def test_acquire_environment_three(self):
     acquire = AcquireEnvironment.load(fixture.SECTIONS_03)
     val = acquire()
     self.assertEqual(val, '\u5148\u751f')
Beispiel #4
0
 def test_acquire_environment_one(self):
     acquire = AcquireEnvironment.load(fixture.SECTIONS_01)
     val = acquire()
     self.assertEqual(val, 'prod')