Пример #1
0
 def test_all_arg_names_bound(self):
     self.assertEqual([],
                      arg_binding_keys.get_unbound_arg_names(
                          ['bound1', 'bound2'], [
                              arg_binding_keys.new('bound1'),
                              arg_binding_keys.new('bound2')
                          ]))
Пример #2
0
 def test_all_arg_names_bound(self):
     self.assertEqual(
         [],
         arg_binding_keys.get_unbound_arg_names(
             ['bound1', 'bound2'],
             [arg_binding_keys.new('bound1'),
              arg_binding_keys.new('bound2')]))
Пример #3
0
 def test_some_arg_name_unbound(self):
     self.assertEqual(['unbound'],
                      arg_binding_keys.get_unbound_arg_names(
                          ['bound', 'unbound'],
                          [arg_binding_keys.new('bound')]))
Пример #4
0
 def test_some_arg_name_unbound(self):
     self.assertEqual(
         ['unbound'],
         arg_binding_keys.get_unbound_arg_names(
             ['bound', 'unbound'], [arg_binding_keys.new('bound')]))