bug-wget
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-wget] [PATCH] Fix python test suite


From: Giuseppe Scrivano
Subject: Re: [Bug-wget] [PATCH] Fix python test suite
Date: Sat, 09 Apr 2016 10:46:23 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Hi Tim,

Tim Ruehsen <address@hidden> writes:

> @@ -27,7 +28,7 @@ class BaseTest:
>          Define the class-wide variables (or attributes).
>          Attributes should not be defined outside __init__.
>          """
> -        self.name = name
> +        self.name = os.path.basename(os.path.realpath(sys.argv[0]))
>          # if pre_hook == None, then {} (an empty dict object) is passed to
>          # self.pre_configs
>          self.pre_configs = pre_hook or {}

shouldn't we remove name from __init__?

Regards,
Giuseppe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]