fix: removed the diff when default profile changes. Printed the current profile info instead (#92)
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
from goose.profile import ToolkitSpec
|
||||
|
||||
|
||||
def test_profile_info(profile_factory):
|
||||
profile = profile_factory(
|
||||
{
|
||||
"provider": "provider",
|
||||
"processor": "processor",
|
||||
"toolkits": [ToolkitSpec("developer"), ToolkitSpec("github")],
|
||||
}
|
||||
)
|
||||
assert profile.profile_info() == "provider:provider, processor:processor toolkits: developer, github"
|
||||
Reference in New Issue
Block a user