def test_get_immediate_wocs(self):
     immediate_wocs = get_immediate_wocs()        
     
     self.assertTrue(self.woc_sms in immediate_wocs)
     self.assertTrue(not self.woc_voice in immediate_wocs)
     self.assertTrue(not self.woc_bluetooth in immediate_wocs)
예제 #2
0
def get_ways_of_communication(immediate = False):
    if immediate:
        return get_immediate_wocs()
    return get_enabled_wocs()