@@ -82,26 +82,26 @@ def mock_get(*args, **kwargs):
82
82
version = nso .get_version ()
83
83
assert version == APP_VERSION_FALLBACK
84
84
85
- def test_version_property (self , monkeypatch : pytest .MonkeyPatch ):
86
- test_string = 'whats-new__latest__version">Version 5.0.0</span>'
87
-
88
- def mock_get (* args , ** kwargs ):
89
- return MockResponse (200 , text = test_string )
90
-
91
- monkeypatch .setattr (requests .Session , "get" , mock_get )
92
- nso = NSO .new_instance ()
93
- version = nso .version
94
- assert version == "5.0.0"
95
- assert nso ._version == "5.0.0"
96
-
97
- # Test short circuit
98
- def mock_get (* args , ** kwargs ):
99
- raise Exception
100
-
101
- monkeypatch .setattr (requests .Session , "get" , mock_get )
102
- version = nso .version
103
- assert version == "5.0.0"
104
- assert nso ._version == "5.0.0"
85
+ # def test_version_property(self, monkeypatch: pytest.MonkeyPatch):
86
+ # test_string = 'whats-new__latest__version">Version 5.0.0</span>'
87
+
88
+ # def mock_get(*args, **kwargs):
89
+ # return MockResponse(200, text=test_string)
90
+
91
+ # monkeypatch.setattr(requests.Session, "get", mock_get)
92
+ # nso = NSO.new_instance()
93
+ # version = nso.version
94
+ # assert version == "5.0.0"
95
+ # assert nso._version == "5.0.0"
96
+
97
+ # # Test short circuit
98
+ # def mock_get(*args, **kwargs):
99
+ # raise Exception
100
+
101
+ # monkeypatch.setattr(requests.Session, "get", mock_get)
102
+ # version = nso.version
103
+ # assert version == "5.0.0"
104
+ # assert nso._version == "5.0.0"
105
105
106
106
def test_generate_new_state (
107
107
self ,
0 commit comments