Changeset View
Changeset View
Standalone View
Standalone View
swh/indexer/tests/test_cli.py
Show First 20 Lines • Show All 94 Lines • ▼ Show 20 Lines | expected_output = "\n".join( | ||||
[ | [ | ||||
"cff", | "cff", | ||||
"codemeta", | "codemeta", | ||||
"composer", | "composer", | ||||
"gemspec", | "gemspec", | ||||
"github", | "github", | ||||
"maven", | "maven", | ||||
"npm", | "npm", | ||||
"nuget", | |||||
"pkg-info", | "pkg-info", | ||||
"pubspec", | "pubspec", | ||||
"", | "", | ||||
] # must be sorted for test to pass | ] # must be sorted for test to pass | ||||
) | ) | ||||
assert result.exit_code == 0, result.output | assert result.exit_code == 0, result.output | ||||
assert result.output == expected_output | assert result.output == expected_output | ||||
▲ Show 20 Lines • Show All 548 Lines • Show Last 20 Lines |