test(unit): ignore alive check for nofusscomputing.com

!30
This commit is contained in:
2023-08-01 04:38:03 +09:30
parent a1a6131f95
commit cfccedde0b
2 changed files with 10 additions and 8 deletions

View File

@ -26,4 +26,4 @@ Other things of note worthy mention:
- Website updating now occurs automagically. We do this via Gitlab using CD/CI pipelines. Now I just edit a file, push the changes and the changes deploy my site on the interwebs.
- Our projects from [GitHub](https://github.com/NoFussComputing) and [GitLab](https://gitlab.com/nofusscomputing) deploy their docs to our site, again automagically.
- Our [projects](../../projects/index.md) from [GitHub](https://github.com/NoFussComputing) and [GitLab](https://gitlab.com/nofusscomputing) deploy their docs to our site, again automagically.

View File

@ -91,18 +91,20 @@ class Data:
if 'gitlab.com/-/ide/project' not in url: # ignore gitlab ide links
link = self.parse_url(url)
if 'nofusscomputing.com' not in url: # ignore gitlab ide links
hyperlink_source_file = {'name': source_file, 'location': link_location}
link = self.parse_url(url)
if link['url_id'] in data['hyperlinks']:
hyperlink_source_file = {'name': source_file, 'location': link_location}
data['hyperlinks'][link['url_id']]['source_files'].append(hyperlink_source_file)
if link['url_id'] in data['hyperlinks']:
else:
data['hyperlinks'][link['url_id']]['source_files'].append(hyperlink_source_file)
link['source_files'] = [ hyperlink_source_file ]
data['hyperlinks'][link['url_id']] = link
else:
link['source_files'] = [ hyperlink_source_file ]
data['hyperlinks'][link['url_id']] = link
events = [self.process_browser_log_entry(entry) for entry in self.driver.get_log('performance')]