Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
greg
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
it-bott-integrasjoner
greg
Commits
68bf1f7a
Commit
68bf1f7a
authored
3 years ago
by
Tore.Brede
Browse files
Options
Downloads
Patches
Plain Diff
Fixing pylint warnings
parent
18445712
No related branches found
No related tags found
1 merge request
!18
GREG-7: Simple task running functionality. Adding ask for checking roles about to expire
Pipeline
#88982
failed
3 years ago
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
greg/schedule.py
+1
-1
1 addition, 1 deletion
greg/schedule.py
greg/tests/test_expire_role.py
+0
-1
0 additions, 1 deletion
greg/tests/test_expire_role.py
with
1 addition
and
2 deletions
greg/schedule.py
+
1
−
1
View file @
68bf1f7a
...
@@ -2,11 +2,11 @@ import time
...
@@ -2,11 +2,11 @@ import time
from
datetime
import
date
,
datetime
,
timedelta
from
datetime
import
date
,
datetime
,
timedelta
from
typing
import
Optional
from
typing
import
Optional
from
abc
import
ABC
,
abstractmethod
from
django.utils
import
timezone
from
django.utils
import
timezone
from
greg.models
import
PersonRole
,
Notification
,
ScheduleTask
from
greg.models
import
PersonRole
,
Notification
,
ScheduleTask
from
abc
import
ABC
,
abstractmethod
class
BaseSchedule
(
ABC
):
class
BaseSchedule
(
ABC
):
...
...
This diff is collapsed.
Click to expand it.
greg/tests/test_expire_role.py
+
0
−
1
View file @
68bf1f7a
import
zoneinfo
from
datetime
import
datetime
,
timedelta
from
datetime
import
datetime
,
timedelta
import
pytest
import
pytest
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment