Skip to content

Commit

Permalink
Delete "kentät" from cite listing ui and fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Savones committed Dec 7, 2023
1 parent 4881295 commit d5d09cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/entities/cite.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def __str__(self) -> str:
"Id": self.id,
"Tyyppi": self.type,
"Kirjoittajat": ", ".join(self.authors),
"" "Kentät": self.fields,
**self.fields,
}

return toml.dumps(toml_dict)
Expand Down
2 changes: 0 additions & 2 deletions src/tests/entities/test_cite.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ def test_cite_str(self):
'Id = "amazing article"'
'\nTyyppi = "article"'
'\nKirjoittajat = "Alice, Bob"'
""
'\n\n["Kentät"]'
"\nyear = 3202"
'\ntitle = "Someone"\n',
)
Expand Down

0 comments on commit d5d09cd

Please sign in to comment.