File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2626 - name : Install project
2727 run : poetry install --no-interaction
2828 - name : Run integration tests
29- run : poetry run pytest integration_tests -v
29+ run : poetry run pytest integration_tests -vs
3030 env :
3131 TASKBADGER_ORG : ${{ secrets.TASKBADGER_ORG }}
3232 TASKBADGER_PROJECT : ${{ secrets.TASKBADGER_PROJECT }}
Original file line number Diff line number Diff line change @@ -31,3 +31,4 @@ def _load_config():
3131 os .environ .get ("TASKBADGER_PROJECT" , "" ),
3232 os .environ .get ("TASKBADGER_API_KEY" , "" ),
3333 )
34+ print (f"\n Integration tests configuration:\n { badger .mug .Badger .current .settings } \n " )
Original file line number Diff line number Diff line change @@ -24,6 +24,14 @@ def as_kwargs(self):
2424 "project_slug" : self .project_slug ,
2525 }
2626
27+ def __str__ (self ):
28+ return (
29+ f"Settings(base_url='{ self .base_url } ',"
30+ f" token='{ self .token [:6 ]} ...',"
31+ f" organization_slug='{ self .organization_slug } ',"
32+ f" project_slug='{ self .project_slug } ')"
33+ )
34+
2735
2836class Session (ContextDecorator ):
2937 def __init__ (self ):
You can’t perform that action at this time.
0 commit comments