tests: test Google Scholar

This commit is contained in:
Sina Atalay
2024-05-29 16:05:51 +03:00
parent ce54967c42
commit ef733e1c33
27 changed files with 32 additions and 0 deletions

View File

@@ -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"),

View File

@@ -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):

View File

@@ -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}}

View File

@@ -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%

View File

@@ -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}

View File

@@ -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}}

View File

@@ -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}}

View File

@@ -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%

View File

@@ -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}

View File

@@ -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}}

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

@@ -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)

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

@@ -8,6 +8,7 @@
<li>GitHub: <a href="https://github.com/johndoe">johndoe</a></li>
<li>Instagram: <a href="https://instagram.com/johndoe">johndoe</a></li>
<li>Orcid: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example/@johndoe">@johndoe@example</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>

View File

@@ -8,6 +8,7 @@
<li>GitHub: <a href="https://github.com/johndoe">johndoe</a></li>
<li>Instagram: <a href="https://instagram.com/johndoe">johndoe</a></li>
<li>Orcid: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example/@johndoe">@johndoe@example</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>

View File

@@ -8,6 +8,7 @@
<li>GitHub: <a href="https://github.com/johndoe">johndoe</a></li>
<li>Instagram: <a href="https://instagram.com/johndoe">johndoe</a></li>
<li>Orcid: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example/@johndoe">@johndoe@example</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>

View File

@@ -8,6 +8,7 @@
<li>GitHub: <a href="https://github.com/johndoe">johndoe</a></li>
<li>Instagram: <a href="https://instagram.com/johndoe">johndoe</a></li>
<li>Orcid: <a href="https://orcid.org/0000-0000-0000-0000">0000-0000-0000-0000</a></li>
<li>Google Scholar: <a href="https://scholar.google.com/citations?user=F8IyYrQAAAAJ">F8IyYrQAAAAJ</a></li>
<li>Mastodon: <a href="https://example/@johndoe">@johndoe@example</a></li>
<li>Twitter: <a href="https://twitter.com/johndoe">johndoe</a></li>
<li>StackOverflow: <a href="https://stackoverflow.com/users/12323/johndoe">12323/johndoe</a></li>

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 KiB

After

Width:  |  Height:  |  Size: 460 KiB