GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — burncode/tests/test_icons_workflow_1295.py at main · burncode/burncode

Expand file tree

/

test_icons_workflow_1295.py

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
32 lines (29 loc) · 1.48 KB
/

test_icons_workflow_1295.py

Copy path

File metadata and controls

32 lines (29 loc) · 1.48 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Author: burncode
# Email: [email protected]
# Copyright (c) 2026 burncode
# License: MIT
import unittest
from pathlib import Path
from profilegen.icons.headings import icon_svg, SECTION_ICONS
from profilegen.icons.brands import mark
ROOT = Path(__file__).resolve().parents[1]
class IconsWorkflow1295(unittest.TestCase):
def test_all_sections_have_mapping(self):
for key in ('about','projects','languages','activity','now','stats','blog','recent_releases'):
self.assertIn(key, SECTION_ICONS)
def test_missing_icon_same_default(self):
self.assertEqual(icon_svg('totally_unknown_section',0,0,20,'#333333'),
icon_svg('default',0,0,20,'#333333'))
def test_missing_social_icon_not_blank(self):
self.assertIn('<svg',mark('not-a-real-brand',0,0,'#333333'))
def test_workflow_all_cache_targets(self):
workflow=(ROOT/'.github/workflows/update-profile.yml').read_text(encoding='utf-8')
for cache in ('github.json','account.json','contributions.json','languages.json','releases.json','blog_feed.json'):
self.assertIn(cache,workflow)
self.assertIn('--refresh-data',workflow)
self.assertIn('assets/sections/',workflow)
def test_documented_headings(self):
doc=(ROOT/'ICONS.md').read_text(encoding='utf-8')
for filename in ('user.svg','folder.svg','code.svg','git-branch.svg','rss.svg','chart-bar.svg'):
self.assertIn(filename,doc)
if __name__=='__main__': unittest.main()
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.