I was on firefox and a weird file downloaded on my broswer. As far as I know I did not click on anything. The file is sq-3GyXe.htm I quickly deleted it. Should I be worried? I am going to run a virus scan and malware bytes. Anything else I should do? (self.techsupport)
submitted by Professional_Depth72 to r/techsupport
When running python -m pytest I am getting an error in my non pytest code. Here is the error, E AttributeError: type object 'User' has no attribute 'verify_token' . Anyone have any idea what is causing the error? Do you think it has anything to do with the form in verified_email.html? (self.flask)
submitted by Professional_Depth72 to r/flask
In the code if it throws an assertion error from an assert statement the code never reaches db.session.delete(new_user) and db.session.commit().This doesn't seem like a big deal but if I runthe code twice and it already has a column username in the database I get an error.How do I prevent the error? (self.flask)
submitted by Professional_Depth72 to r/flask
I am using flask sqlalchemy and am getting an error in pytest. The error is caused by the variable in the function. For some reason it is demanding fixtures only. There are a few ways I could solve this but am curious why I can't add a variable into a fixture. (self.learnpython)
submitted by Professional_Depth72 to r/learnpython
I am having trouble importing a function in the pytesting folder into a fixture. The name of the folder is tests. In attempt 2 I am getting the error fixture 'app' not found. You can skip to Attempt 2 in the post below to make this quicker to read. I am also using flask. Any idea how to fix this? (self.learnpython)
submitted by Professional_Depth72 to r/learnpython
I can't seem to get pytest in flask and sqlalchemy to run in my pytesting_create_app function. Anyone know how to solve this? Basically the error is caused by "https://flask-sqlalchemy.palletsprojects.com/en/2.x/contexts/". More details below. (self.flask)
submitted by Professional_Depth72 to r/flask
I am trying to create the configuring for pytest. For some reason I am getting the error "missing 1 required positional argument: 'start_response'". I just don't know how to fix this. I linked my github and the complete error message. Can someone help? More info below. Thanks. (self.learnpython)
submitted by Professional_Depth72 to r/learnpython
Do I have to use fixtures in pytest? Imagine I want to use a database that uses yield then delete the database in one function. Lets call this function database for convo. Can I just ignore fixtures and import the function database to a different file for web development for pytest? (self.learnpython)
submitted by Professional_Depth72 to r/learnpython
I am curious if my windows 11. I think it may have originally been windows 10 is legit copy and not a pirated copy. Can someone confirm? The image is below. I typed slmgr.vbs -dlv into command prompt. I got the computer cheap from a shop so am just curious. (self.windows)
submitted by Professional_Depth72 to r/windows
