URL: https://github.com/SSSD/sssd/pull/5922
Author: ikerexxe
 Title: #5922: [WIP] test: fix pep8 complaint
Action: opened

PR body:
"""
Fix pep8 complaint about over-indentation in test_multidomain.py file. I
guess this is only happening in RHEL8 and Debian because the tool was
forked to pycodestyle, only it is being updated and pycodestyle isn't
available for those distributions from the package manager.
"""

To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5922/head:pr5922
git checkout pr5922
From a4f06fe95b7a8ba72283668995a8d338052cf52e Mon Sep 17 00:00:00 2001
From: Iker Pedrosa <ipedr...@redhat.com>
Date: Wed, 15 Dec 2021 13:29:36 +0100
Subject: [PATCH] test: fix pep8 complaint

Fix pep8 complaint about over-indentation in test_multidomain.py file. I
guess this is only happening in RHEL8 and Debian because the tool was
forked to pycodestyle, only it is being updated and pycodestyle isn't
available for those distributions from the package manager.

Signed-off-by: Iker Pedrosa <ipedr...@redhat.com>
---
 src/tests/multihost/admultidomain/test_multidomain.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/tests/multihost/admultidomain/test_multidomain.py b/src/tests/multihost/admultidomain/test_multidomain.py
index 497929bcad..5abe576dc6 100644
--- a/src/tests/multihost/admultidomain/test_multidomain.py
+++ b/src/tests/multihost/admultidomain/test_multidomain.py
@@ -166,9 +166,9 @@ def test_0002_bz2018432(multihost, adjoin):
         ad_count = len(multihost.ad)
 
         assert str(ad_domain) \
-               and str(ad_child_domain) \
-               and str(ad_child1_domain) \
-               and str(ad_tree_domain) \
-               in domain_list_cmd.stdout_text
+            and str(ad_child_domain) \
+            and str(ad_child1_domain) \
+            and str(ad_tree_domain) \
+            in domain_list_cmd.stdout_text
 
         assert (len(domain_list_cmd.stdout_text.split('\n'))-1) == ad_count
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to