Sunil Mohan Adapa
dea4af17fb
Rename Plinth to FreedomBox in license headers
...
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2018-02-16 20:10:09 -05:00
Vignan Lavu
beb74526f3
networks: Fix failing network test
2017-04-10 14:58:23 +05:30
Sunil Mohan Adapa
dce51fd6d7
networks: Support configuring IPv6 networks
...
- Very similar to configuration of IPv4 networks.
- Supports 'auto', 'dhcp', 'manual' and 'ignored' modes as supported by
network manager. 'shared' mode is not yet implemented by network
manager.
2016-10-01 07:09:03 -04:00
Nikhil Rayaprolu
c0dc3ec8ca
modified network tests
2016-07-24 09:26:40 -04:00
Sunil Mohan Adapa
082c5ee1ce
networks: Minor trimming to tests
...
- To focus only on what is being tested.
2016-02-09 09:35:14 +05:30
James Valleroy
1851b15836
networks: Fix tests, move settings to a dict
2016-02-09 09:35:01 +05:30
Sunil Mohan Adapa
0280d22c12
networks: Update tests for setting manual address
2015-12-23 10:09:49 +05:30
James Valleroy
1927eac06c
Update network tests to work with added parameters.
2015-12-22 16:21:45 -05:00
Sunil Mohan Adapa
1e10fb76fc
networks: Add test case for PPPoE
...
- Update ethernet and Wi-Fi tests to make sure interface name is
properly set.
2015-08-22 20:18:51 +05:30
James Valleroy
e060960fed
Also add IPv4 manual address test for wifi.
2015-07-29 22:29:01 -04:00
James Valleroy
110d50d7e2
Make separate network test for IPv4 manual address.
2015-07-29 21:56:24 -04:00
James Valleroy
6c06799320
Specify interfaces for network tests where needed.
2015-07-29 21:38:20 -04:00
Sunil Mohan Adapa
cf1bb65a0c
tests: Minor styling fixes and updates
...
- Add module level comments.
- Add comments to reflect docstring styling.
- Since most tests can no longer be run directly, remove __main__
invocation uniformly from all the tests.
- Remove unnecessary test settings and let them take default values.
- Add license header to test settings module.
- Fix a minor issue actions test tear down.
- Improve key/value store tests.
2015-05-24 12:16:51 +05:30
James Valleroy
b00a634647
Update network tests, minor fixes to network.py.
...
Return UUID when adding a connection.
Have get_connection raise an exception instead of returning None.
2015-05-16 15:39:26 -04:00
Sunil Mohan Adapa
13e0707b09
network: Skip network tests when running as non-root
2015-04-06 23:11:26 +05:30
Sunil Mohan Adapa
f00f65f484
network: Update tests to work with UUIDs and add a few more checks
2015-04-06 22:21:29 +05:30
James Valleroy
2441caf647
Add AP and adhoc wifi modes, and shared IPv4 addressing mode.
2015-04-06 22:21:29 +05:30
James Valleroy
8d9b388375
Fix network tests, add form help and validator.
2015-04-06 22:21:29 +05:30
James Valleroy
9b201a2daf
Rename network module to networks.
...
Move networkmanager helper functions into a new file.
Add some network tests.
2015-04-06 22:21:28 +05:30