def test_update_openwireless_monthly_data(self, uci, _): update_setting.check_openwireless_monthly_data('500') bandwidth = uci.get("openwireless.maxmonthlybandwidth") self.assertEquals(bandwidth, '500')
def test_update_network_availability_after_monthly_data_limit_change( self, _, update_network_availability): update_setting.check_openwireless_monthly_data('500') update_network_availability.assert_called_with()