Did I find the right examples for you? yes no

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/w/i/wifi-HEAD/tests/test_schemes.py   wifi(Download)
    def test_str(self):
        scheme = self.Scheme('wlan0', 'test')
        assert str(scheme) == 'iface wlan0-test inet dhcp\n'
 
        scheme = self.Scheme('wlan0', 'test', {
    def test_save(self):
        scheme = self.Scheme('wlan0', 'test')
        scheme.save()
 
        assert self.Scheme.find('wlan0', 'test')