This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import pickle | |
| # ...... more code | |
| # ...... | |
| results = some_calculation() | |
| expected_result_file_path = 'path_to_the_snapshot_file_of_choice' | |
| # the snapshot file should not exist at the beginning |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * In an attempt to use the https://github.com/Azure/go-amqp/ to connect to an AMQP topic, I was using the sample code | |
| * on the README but kept getting an error like: | |
| * "Failed creating receiver link *Error{Condition: amqp:unauthorized-access, Description: User qbtzf4r2sqkimdl is not authorized to read from: queue://topic..." | |
| * To connect to an AMQP 1.0 topic, the LinkSourceAddress or the LinkTargetAddres has to be of the form "topic://..." | |
| */ | |
| package main | |
| import ( |
OlderNewer