ponty / PyVirtualDisplay

Python wrapper for Xvfb, Xephyr and Xvnc
BSD 2-Clause "Simplified" License
714 stars 78 forks source link

Fix use random display #32

Closed Theemuts closed 5 years ago

Theemuts commented 6 years ago

Hi,

When I was using this library, I needed to be able to get a random display number within a specific range. I've replaced RANDOMIZE_DISPLAY_NR with a Randomizer class.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+1.06%) to 84.713% when pulling e36f2c7ff7c731201243ffaf182d5497c0b67738 on Theemuts:fix_use_random_display into 94446088591a924ee0c103321cc566c9108d243d on ponty:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+1.06%) to 84.713% when pulling e36f2c7ff7c731201243ffaf182d5497c0b67738 on Theemuts:fix_use_random_display into 94446088591a924ee0c103321cc566c9108d243d on ponty:master.

coveralls commented 6 years ago

Coverage Status

Coverage increased (+1.06%) to 84.713% when pulling e36f2c7ff7c731201243ffaf182d5497c0b67738 on Theemuts:fix_use_random_display into 94446088591a924ee0c103321cc566c9108d243d on ponty:master.

ponty commented 5 years ago

Thanks.