| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2156,6 +2156,8 @@ def mock_incoming_msg( | |||
| 2156 | 2156 | zeroconf, | |
| 2157 | 2157 | mock_incoming_msg(r.ServiceStateChange.Added, service_types[1], service_names[1], 120), | |
| 2158 | 2158 | ) | |
| 2159 | + zeroconf.wait(100) | ||
| 2160 | + | ||
| 2159 | 2161 | called_with_refresh_time_check = False | |
| 2160 | 2162 | ||
| 2161 | 2163 | def _mock_get_expiration_time(self, percent): | |
@@ -2171,7 +2173,6 @@ def _mock_get_expiration_time(self, percent): | |||
| 2171 | 2173 | zeroconf, | |
| 2172 | 2174 | mock_incoming_msg(r.ServiceStateChange.Added, service_types[0], service_names[0], 120), | |
| 2173 | 2175 | ) | |
| 2174 | - zeroconf.wait(100) | ||
| 2175 | 2176 | # Add the last record after updating the first one | |
| 2176 | 2177 | # to ensure the service_add_event only gets set | |
| 2177 | 2178 | # after the update | |
| Back | FazBrowse Home | New Git URL |
0 commit comments