mirror of
https://github.com/onionshare/onionshare.git
synced 2025-07-29 17:38:53 -04:00
Completely refactor common to make a Common class, and pass that class down into all parts of the program
This commit is contained in:
parent
69a94c5852
commit
c1ff40b5b3
17 changed files with 458 additions and 444 deletions
|
@ -28,7 +28,7 @@ from onionshare import common, settings, strings
|
|||
|
||||
@pytest.fixture
|
||||
def custom_version(monkeypatch):
|
||||
monkeypatch.setattr(common, 'get_version', lambda: 'DUMMY_VERSION_1.2.3')
|
||||
monkeypatch.setattr(common, 'version', 'DUMMY_VERSION_1.2.3')
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue