mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-07 17:05:16 -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
49e352d131
commit
50409167d4
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