Skip to content

Commit

Permalink
Fixes broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vulder committed Oct 3, 2024
1 parent aafb2d8 commit f0e0fb7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tests/experiment/test_workload_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_workload_config_param_token(self) -> None:
self.assertEqual(len(commands), 1)
command = commands[0]
args = command.command.rendered_args(project=project)
self.assertEquals(args, tuple(["-c"]))
self.assertEqual(args, tuple(["-c"]))

@run_in_test_environment(UnitTestFixtures.PAPER_CONFIGS)
def test_workload_commands_requires_patch(self) -> None:
Expand Down
7 changes: 4 additions & 3 deletions tests/utils/test_doc_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ def test_generate_projects_overview_table(self) -> None:

self.assertEqual(
cleaned_first_row[0],
":class:`~varats.projects.c_projects.glibc.Glibc`"
":class:`~varats.projects.c_projects.capstone.Capstone`"
)
self.assertEqual(cleaned_first_row[1], "c_projects")
self.assertEqual(cleaned_first_row[2], "C Library")
self.assertEqual(cleaned_first_row[2], "Binary Analysis Framework")
self.assertEqual(cleaned_first_row[3], "")
self.assertEqual(
cleaned_first_row[4], "git://sourceware.org/git/glibc.git"
cleaned_first_row[4],
"https://github.com/capstone-engine/capstone.git"
)

def test_construct_feature_model_link(self) -> None:
Expand Down

0 comments on commit f0e0fb7

Please sign in to comment.