mirror of https://github.com/eyhc1/rendercv.git
tests: test Google Scholar
This commit is contained in:
parent
ce54967c42
commit
ef733e1c33
|
@ -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"),
|
||||
|
|
|
@ -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):
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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%
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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%
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}}
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 455 KiB After Width: | Height: | Size: 460 KiB |
Loading…
Reference in New Issue