freeipa/ipatests/test_ipalib
Petr Viktorin 5178e9a597 Modernize use of range()
In Python 3, range() behaves like the old xrange().
The difference between range() and xrange() is usually not significant,
especially if the whole result is iterated over.

Convert xrange() usage to range() for small ranges.
Use modern idioms in a few other uses of range().

Reviewed-By: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
2015-09-01 11:42:01 +02:00
..
__init__.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
test_aci.py Use the print function 2015-09-01 11:42:01 +02:00
test_backend.py Use the print function 2015-09-01 11:42:01 +02:00
test_base.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_capabilities.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
test_cli.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_config.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_crud.py plugable: Pass API to plugins on initialization rather than using set_api 2015-07-01 13:05:30 +00:00
test_errors.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_frontend.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_messages.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_output.py plugable: Pass API to plugins on initialization rather than using set_api 2015-07-01 13:05:30 +00:00
test_parameters.py Use six.integer_types instead of (long, int) 2015-09-01 11:42:01 +02:00
test_plugable.py Modernize use of range() 2015-09-01 11:42:01 +02:00
test_rpc.py Use the print function 2015-09-01 11:42:01 +02:00
test_text.py Use the print function 2015-09-01 11:42:01 +02:00
test_util.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00
test_x509.py Make an ipa-tests package 2013-06-17 19:22:50 +02:00