Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Memri
plugins
Memri Bot
Commits
757e6d9b
Commit
757e6d9b
authored
1 year ago
by
Alp Deniz Ogut
Browse files
Options
Download
Email Patches
Plain Diff
Skip environment dependent tests
parent
e51a605c
Pipeline
#15181
passed with stages
in 1 minute and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_plugin.py
+2
-2
tests/test_plugin.py
with
2 additions
and
2 deletions
+2
-2
tests/test_plugin.py
+
2
-
2
View file @
757e6d9b
...
...
@@ -18,12 +18,12 @@ def test_generate_context(plugin: MemriBot):
context
=
plugin
.
generate_context
(
None
,
context_data
,
None
,
"default"
)
assert
context_data
in
context
@
pytest
.
mark
.
skip
(
reason
=
"Environment dependent"
)
def
test_get_rss_entry
(
plugin
:
MemriBot
):
fullText
=
plugin
.
get_rss_entry_content
(
TEST_ENTRY_ID
)
assert
fullText
@
pytest
.
mark
.
skip
(
reason
=
"Environment dependent"
)
def
test_rss_chat_request
(
plugin
:
MemriBot
):
messages
:
List
[
ChatMessage
]
=
[
ChatMessage
(
role
=
"USER"
,
content
=
"Reply with exactly this content: 'ABCDEFGHJIKLM' and nothing else."
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets