diff --git a/tests/conftest.py b/tests/conftest.py index d59e0ed..6eead83 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -283,6 +283,7 @@ def rendercv_filled_curriculum_vitae_data_model( dm.SocialNetwork(network="GitHub", username="johndoe"), dm.SocialNetwork(network="Instagram", username="johndoe"), dm.SocialNetwork(network="Orcid", username="0000-0000-0000-0000"), + dm.SocialNetwork(network="Google Scholar", username="F8IyYrQAAAAJ"), dm.SocialNetwork(network="Mastodon", username="@johndoe@example"), dm.SocialNetwork(network="Twitter", username="johndoe"), dm.SocialNetwork(network="StackOverflow", username="12323/johndoe"), diff --git a/tests/test_data_models.py b/tests/test_data_models.py index 7318128..df87629 100644 --- a/tests/test_data_models.py +++ b/tests/test_data_models.py @@ -450,6 +450,11 @@ def test_invalid_social_networks(network, username): "@myusername", "https://youtube.com/@myusername", ), + ( + "Google Scholar", + "myusername", + "https://scholar.google.com/citations?user=myusername", + ), ], ) def test_social_network_url(network, username, expected_url): diff --git a/tests/testdata/test_generate_latex_file/classic_filled.tex b/tests/testdata/test_generate_latex_file/classic_filled.tex index c99d27b..11c2282 100644 --- a/tests/testdata/test_generate_latex_file/classic_filled.tex +++ b/tests/testdata/test_generate_latex_file/classic_filled.tex @@ -192,6 +192,8 @@ \kern 0.5 cm \mbox{\hrefWithoutArrow{https://orcid.org/0000-0000-0000-0000}{{\footnotesize\faOrcid}\hspace*{0.13cm}0000-0000-0000-0000}} \kern 0.5 cm + \mbox{\hrefWithoutArrow{https://scholar.google.com/citations?user=F8IyYrQAAAAJ}{{\footnotesize\faGraduationCap}\hspace*{0.13cm}Google Scholar}} + \kern 0.5 cm \mbox{\hrefWithoutArrow{https://example/@johndoe}{{\footnotesize\faMastodon}\hspace*{0.13cm}@johndoe@example}} \kern 0.5 cm \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}} diff --git a/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex b/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex index 450b079..472aae2 100644 --- a/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex +++ b/tests/testdata/test_generate_latex_file/engineeringresumes_filled.tex @@ -196,6 +196,10 @@ \kern 5.0 pt% \AND% \kern 5.0 pt% + \mbox{\hrefWithoutArrow{https://scholar.google.com/citations?user=F8IyYrQAAAAJ}{scholar.google.com/citations?user=F8IyYrQAAAAJ}}% + \kern 5.0 pt% + \AND% + \kern 5.0 pt% \mbox{\hrefWithoutArrow{https://example/@johndoe}{example/@johndoe}}% \kern 5.0 pt% \AND% diff --git a/tests/testdata/test_generate_latex_file/moderncv_filled.tex b/tests/testdata/test_generate_latex_file/moderncv_filled.tex index b2328bd..1f3c29f 100644 --- a/tests/testdata/test_generate_latex_file/moderncv_filled.tex +++ b/tests/testdata/test_generate_latex_file/moderncv_filled.tex @@ -51,6 +51,7 @@ \social[github]{johndoe} \social[instagram]{johndoe} \social[orcid]{0000-0000-0000-0000} +\social[google scholar]{F8IyYrQAAAAJ} \social[mastodon]{@johndoe@example} \social[twitter]{johndoe} \social[stackoverflow]{12323/johndoe} diff --git a/tests/testdata/test_generate_latex_file/sb2nov_filled.tex b/tests/testdata/test_generate_latex_file/sb2nov_filled.tex index d98ae64..af5bce6 100644 --- a/tests/testdata/test_generate_latex_file/sb2nov_filled.tex +++ b/tests/testdata/test_generate_latex_file/sb2nov_filled.tex @@ -168,6 +168,8 @@ \kern 0.5 cm \mbox{\hrefWithoutArrow{https://orcid.org/0000-0000-0000-0000}{\color{black}{\footnotesize\faOrcid}\hspace*{0.13cm}0000-0000-0000-0000}} \kern 0.5 cm + \mbox{\hrefWithoutArrow{https://scholar.google.com/citations?user=F8IyYrQAAAAJ}{\color{black}{\footnotesize\faGraduationCap}\hspace*{0.13cm}Google Scholar}} + \kern 0.5 cm \mbox{\hrefWithoutArrow{https://example/@johndoe}{\color{black}{\footnotesize\faMastodon}\hspace*{0.13cm}@johndoe@example}} \kern 0.5 cm \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{\color{black}{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}} diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex index c99d27b..11c2282 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/classic_filled/John_Doe_CV.tex @@ -192,6 +192,8 @@ \kern 0.5 cm \mbox{\hrefWithoutArrow{https://orcid.org/0000-0000-0000-0000}{{\footnotesize\faOrcid}\hspace*{0.13cm}0000-0000-0000-0000}} \kern 0.5 cm + \mbox{\hrefWithoutArrow{https://scholar.google.com/citations?user=F8IyYrQAAAAJ}{{\footnotesize\faGraduationCap}\hspace*{0.13cm}Google Scholar}} + \kern 0.5 cm \mbox{\hrefWithoutArrow{https://example/@johndoe}{{\footnotesize\faMastodon}\hspace*{0.13cm}@johndoe@example}} \kern 0.5 cm \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}} diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex index 450b079..472aae2 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/engineeringresumes_filled/John_Doe_CV.tex @@ -196,6 +196,10 @@ \kern 5.0 pt% \AND% \kern 5.0 pt% + \mbox{\hrefWithoutArrow{https://scholar.google.com/citations?user=F8IyYrQAAAAJ}{scholar.google.com/citations?user=F8IyYrQAAAAJ}}% + \kern 5.0 pt% + \AND% + \kern 5.0 pt% \mbox{\hrefWithoutArrow{https://example/@johndoe}{example/@johndoe}}% \kern 5.0 pt% \AND% diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex index b2328bd..1f3c29f 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/moderncv_filled/John_Doe_CV.tex @@ -51,6 +51,7 @@ \social[github]{johndoe} \social[instagram]{johndoe} \social[orcid]{0000-0000-0000-0000} +\social[google scholar]{F8IyYrQAAAAJ} \social[mastodon]{@johndoe@example} \social[twitter]{johndoe} \social[stackoverflow]{12323/johndoe} diff --git a/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex index d98ae64..af5bce6 100644 --- a/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex +++ b/tests/testdata/test_generate_latex_file_and_copy_theme_files/sb2nov_filled/John_Doe_CV.tex @@ -168,6 +168,8 @@ \kern 0.5 cm \mbox{\hrefWithoutArrow{https://orcid.org/0000-0000-0000-0000}{\color{black}{\footnotesize\faOrcid}\hspace*{0.13cm}0000-0000-0000-0000}} \kern 0.5 cm + \mbox{\hrefWithoutArrow{https://scholar.google.com/citations?user=F8IyYrQAAAAJ}{\color{black}{\footnotesize\faGraduationCap}\hspace*{0.13cm}Google Scholar}} + \kern 0.5 cm \mbox{\hrefWithoutArrow{https://example/@johndoe}{\color{black}{\footnotesize\faMastodon}\hspace*{0.13cm}@johndoe@example}} \kern 0.5 cm \mbox{\hrefWithoutArrow{https://twitter.com/johndoe}{\color{black}{\footnotesize\faTwitter}\hspace*{0.13cm}johndoe}} diff --git a/tests/testdata/test_generate_markdown_file/classic_filled.md b/tests/testdata/test_generate_markdown_file/classic_filled.md index ffad766..f8fdf61 100644 --- a/tests/testdata/test_generate_markdown_file/classic_filled.md +++ b/tests/testdata/test_generate_markdown_file/classic_filled.md @@ -8,6 +8,7 @@ - GitHub: [johndoe](https://github.com/johndoe) - Instagram: [johndoe](https://instagram.com/johndoe) - Orcid: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) +- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example](https://example/@johndoe) - Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) diff --git a/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md b/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md index ffad766..f8fdf61 100644 --- a/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md +++ b/tests/testdata/test_generate_markdown_file/engineeringresumes_filled.md @@ -8,6 +8,7 @@ - GitHub: [johndoe](https://github.com/johndoe) - Instagram: [johndoe](https://instagram.com/johndoe) - Orcid: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) +- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example](https://example/@johndoe) - Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) diff --git a/tests/testdata/test_generate_markdown_file/moderncv_filled.md b/tests/testdata/test_generate_markdown_file/moderncv_filled.md index ffad766..f8fdf61 100644 --- a/tests/testdata/test_generate_markdown_file/moderncv_filled.md +++ b/tests/testdata/test_generate_markdown_file/moderncv_filled.md @@ -8,6 +8,7 @@ - GitHub: [johndoe](https://github.com/johndoe) - Instagram: [johndoe](https://instagram.com/johndoe) - Orcid: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) +- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example](https://example/@johndoe) - Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) diff --git a/tests/testdata/test_generate_markdown_file/sb2nov_filled.md b/tests/testdata/test_generate_markdown_file/sb2nov_filled.md index ffad766..f8fdf61 100644 --- a/tests/testdata/test_generate_markdown_file/sb2nov_filled.md +++ b/tests/testdata/test_generate_markdown_file/sb2nov_filled.md @@ -8,6 +8,7 @@ - GitHub: [johndoe](https://github.com/johndoe) - Instagram: [johndoe](https://instagram.com/johndoe) - Orcid: [0000-0000-0000-0000](https://orcid.org/0000-0000-0000-0000) +- Google Scholar: [F8IyYrQAAAAJ](https://scholar.google.com/citations?user=F8IyYrQAAAAJ) - Mastodon: [@johndoe@example](https://example/@johndoe) - Twitter: [johndoe](https://twitter.com/johndoe) - StackOverflow: [12323/johndoe](https://stackoverflow.com/users/12323/johndoe) diff --git a/tests/testdata/test_latex_to_pdf/classic_empty.pdf b/tests/testdata/test_latex_to_pdf/classic_empty.pdf index 143f073..c5cbe6d 100644 Binary files a/tests/testdata/test_latex_to_pdf/classic_empty.pdf and b/tests/testdata/test_latex_to_pdf/classic_empty.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/classic_filled.pdf b/tests/testdata/test_latex_to_pdf/classic_filled.pdf index 7154dde..c635829 100644 Binary files a/tests/testdata/test_latex_to_pdf/classic_filled.pdf and b/tests/testdata/test_latex_to_pdf/classic_filled.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/engineeringresumes_empty.pdf b/tests/testdata/test_latex_to_pdf/engineeringresumes_empty.pdf index 57d3cf4..b07c644 100644 Binary files a/tests/testdata/test_latex_to_pdf/engineeringresumes_empty.pdf and b/tests/testdata/test_latex_to_pdf/engineeringresumes_empty.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf b/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf index 453e013..a16bc2b 100644 Binary files a/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf and b/tests/testdata/test_latex_to_pdf/engineeringresumes_filled.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/moderncv_empty.pdf b/tests/testdata/test_latex_to_pdf/moderncv_empty.pdf index a6e07d1..f69c2d4 100644 Binary files a/tests/testdata/test_latex_to_pdf/moderncv_empty.pdf and b/tests/testdata/test_latex_to_pdf/moderncv_empty.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf b/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf index 2d5d382..65ce7ed 100644 Binary files a/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf and b/tests/testdata/test_latex_to_pdf/moderncv_filled.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/sb2nov_empty.pdf b/tests/testdata/test_latex_to_pdf/sb2nov_empty.pdf index 78e6c32..182ad47 100644 Binary files a/tests/testdata/test_latex_to_pdf/sb2nov_empty.pdf and b/tests/testdata/test_latex_to_pdf/sb2nov_empty.pdf differ diff --git a/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf b/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf index d17bc1f..97cf91d 100644 Binary files a/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf and b/tests/testdata/test_latex_to_pdf/sb2nov_filled.pdf differ diff --git a/tests/testdata/test_markdown_to_html/classic_filled.html b/tests/testdata/test_markdown_to_html/classic_filled.html index 3991d73..d3739f1 100644 --- a/tests/testdata/test_markdown_to_html/classic_filled.html +++ b/tests/testdata/test_markdown_to_html/classic_filled.html @@ -8,6 +8,7 @@
  • GitHub: johndoe
  • Instagram: johndoe
  • Orcid: 0000-0000-0000-0000
  • +
  • Google Scholar: F8IyYrQAAAAJ
  • Mastodon: @johndoe@example
  • Twitter: johndoe
  • StackOverflow: 12323/johndoe
  • diff --git a/tests/testdata/test_markdown_to_html/engineeringresumes_filled.html b/tests/testdata/test_markdown_to_html/engineeringresumes_filled.html index 3991d73..d3739f1 100644 --- a/tests/testdata/test_markdown_to_html/engineeringresumes_filled.html +++ b/tests/testdata/test_markdown_to_html/engineeringresumes_filled.html @@ -8,6 +8,7 @@
  • GitHub: johndoe
  • Instagram: johndoe
  • Orcid: 0000-0000-0000-0000
  • +
  • Google Scholar: F8IyYrQAAAAJ
  • Mastodon: @johndoe@example
  • Twitter: johndoe
  • StackOverflow: 12323/johndoe
  • diff --git a/tests/testdata/test_markdown_to_html/moderncv_filled.html b/tests/testdata/test_markdown_to_html/moderncv_filled.html index 3991d73..d3739f1 100644 --- a/tests/testdata/test_markdown_to_html/moderncv_filled.html +++ b/tests/testdata/test_markdown_to_html/moderncv_filled.html @@ -8,6 +8,7 @@
  • GitHub: johndoe
  • Instagram: johndoe
  • Orcid: 0000-0000-0000-0000
  • +
  • Google Scholar: F8IyYrQAAAAJ
  • Mastodon: @johndoe@example
  • Twitter: johndoe
  • StackOverflow: 12323/johndoe
  • diff --git a/tests/testdata/test_markdown_to_html/sb2nov_filled.html b/tests/testdata/test_markdown_to_html/sb2nov_filled.html index 3991d73..d3739f1 100644 --- a/tests/testdata/test_markdown_to_html/sb2nov_filled.html +++ b/tests/testdata/test_markdown_to_html/sb2nov_filled.html @@ -8,6 +8,7 @@
  • GitHub: johndoe
  • Instagram: johndoe
  • Orcid: 0000-0000-0000-0000
  • +
  • Google Scholar: F8IyYrQAAAAJ
  • Mastodon: @johndoe@example
  • Twitter: johndoe
  • StackOverflow: 12323/johndoe
  • diff --git a/tests/testdata/test_pdf_to_pngs/pngs/classic_filled_1.png b/tests/testdata/test_pdf_to_pngs/pngs/classic_filled_1.png index 914a245..98a55f2 100644 Binary files a/tests/testdata/test_pdf_to_pngs/pngs/classic_filled_1.png and b/tests/testdata/test_pdf_to_pngs/pngs/classic_filled_1.png differ