smtpdfix/fixture.py
def verify(self, address):
        """Method to verify that an address or username is correct.

        Possible inputs are:
        - a user name (e.g. "user")
        - an email address (e.g. "user@example.org")

        Should return a string in the form of "User <user@example.org>" if
        the address provided is valid. If there the valid is invalid return
        None. In this case we are returning a boolean true instead.
        """
        if (address == self.config.SMTPD_LOGIN_NAME):
            log.debug(f"Verified that username {address} is a valid user")
            return True

        log.debug(f"Verified that {address} is not a valid user")
        return None
Method to verify that an address or username is correct.

        Possible inputs are:
        - a user name (e.g. "user")
        - an email address (e.g. "user@example.org")

        Should return a string in the form of "User <user@example.org>" if
        the address provided is valid. If there the valid is invalid return
        None. In this case we are returning a boolean true instead.
        
Method to verify that an address or username is correct.
Possible inputs are:
a user name
an email address

Should return a string in the form of "User " if
the address provided is valid. If there the valid is invalid return
None. In this case we are returning a boolean true instead.
Method to verify that an address or username is correct . Possible inputs are : a user name an email address Should return a string in the form of " User " if the address provided is valid . If there the valid is invalid return None . In this case we are returning a boolean true instead .
def verify(self, address):
        if (address == self.config.SMTPD_LOGIN_NAME):
            log.debug(f"Verified that username {address} is a valid user")
            return True
        log.debug(f"Verified that {address} is not a valid user")
        return None
def verify ( self , address ) : if ( address == self . config . SMTPD_LOGIN_NAME ) : log . debug ( f"Verified that username {address} is a valid user" ) return True log . debug ( f"Verified that {address} is not a valid user" ) return None
Method to verify that an address or username is correct.
Method to verify that an address or username is correct .
"""Method to verify that an address or username is correct.

        Possible inputs are:
        - a user name (e.g. "user")
        - an email address (e.g. "user@example.org")

        Should return a string in the form of "User <user@example.org>" if
        the address provided is valid. If there the valid is invalid return
        None. In this case we are returning a boolean true instead.
        """
self
address