From f004f0ef49713e8eb733ce20051a8497e20c0d3a Mon Sep 17 00:00:00 2001 From: Jochem Berends Date: Mon, 2 Oct 2017 09:44:41 +0200 Subject: [PATCH] #207 adding missing cassette --- ...stance_of_a_model_without_instances_raises_notfounderror.json | 1 + 1 file changed, 1 insertion(+) create mode 100644 tests/cassettes/TestPartCreateWithProperties.test_get_single_instance_of_a_model_without_instances_raises_notfounderror.json diff --git a/tests/cassettes/TestPartCreateWithProperties.test_get_single_instance_of_a_model_without_instances_raises_notfounderror.json b/tests/cassettes/TestPartCreateWithProperties.test_get_single_instance_of_a_model_without_instances_raises_notfounderror.json new file mode 100644 index 000000000..fb8358d45 --- /dev/null +++ b/tests/cassettes/TestPartCreateWithProperties.test_get_single_instance_of_a_model_without_instances_raises_notfounderror.json @@ -0,0 +1 @@ +{"http_interactions": [{"request": {"uri": "/api/scopes.json?status=ACTIVE&name=Bike+Project+%28pykechain+testing%29", "headers": {"Accept": "*/*", "X-Requested-With": "XMLHttpRequest", "Authorization": "Token ", "User-Agent": "python-requests/2.18.4", "Connection": "keep-alive", "Accept-Encoding": "gzip, deflate", "PyKechain-Version": "1.12.6"}, "body": {"string": "", "encoding": "utf-8"}, "method": "GET"}, "response": {"headers": {"X-Content-Type-Options": "nosniff", "Transfer-Encoding": "chunked", "Content-Encoding": "gzip", "X-XSS-Protection": "1; mode=block", "Date": "Mon, 02 Oct 2017 07:12:27 GMT", "Allow": "GET, POST, HEAD, OPTIONS", "X-Frame-Options": "SAMEORIGIN", "Content-Type": "application/json", "Vary": "Accept-Encoding", "Strict-Transport-Security": "max-age=518400; includeSubDomains", "Connection": "keep-alive", "Server": "nginx/1.10.2"}, "body": {"base64_string": "H4sIAAAAAAAAA6VT227bMAz9lUJPGxAlsuSb8tSt68OAARuwYg8bikIXOlFjy4YkbyuC/PvoXNr0oeiwwTIg0jw8JH24JQHi2KZIlj+2ZAwtWZJ1SkNcLhYbMFwNbr4BatbK+bnpuwU6FtH0A8RF2VTayIZRzmuguRWKSmsYBVOoqrCVgMzO72PvyYw4i4n/BoCxXnWA0e/dBi6+hP4eTLp4MzxgOVMVFwlicn71FiMT/E4YibeYVBqxCfLu6ubjt+vpW1A+uuR6f+ht7VbrFt8EWEoKI5yBrj59/nr94Yl6b5Pd7YyoGN3KAzr92LYz0kGnIRwyQqdce6A/4vA2RghH67Hkqf94d4CeuCeH8mr1zKNMcj/h0YGFVrvZE5G+1HPfvkQ3zeWU8t8J+TmhepVwMl9ja1QbX6IT53T3vVlDN8c04G28RN396sMmTrp7qYbnkP/ou5z+NgoipDur0pSas6yiLKO8vOFiyRie70hgR3glQo9mA6jLLel6C+1d6PtJpZXkShgNlImiRPXLnNZ53VBtjG604KwxYmrAYxXewAnWFDwTQgBVGViaQ1lQnZUllVI2MlOiNk12WrCcMUzOK5rh5tK8KhWteYULpqui4lBKAEZ2MzKE3kCclM+sgkIKSWshDM3rSlEty5yywuZGgGzASLIHrMIeweZ5XZfi7ClmBKxLSrePAx0gdA43Z797W2IC7Ad2FMI4HOZ3iLWootA/nEwMPe7nbne7+wNSaYc1nwQAAA==", "string": "", "encoding": null}, "status": {"message": "OK", "code": 200}, "url": "/api/scopes.json?status=ACTIVE&name=Bike+Project+%28pykechain+testing%29"}, "recorded_at": "2017-10-02T07:12:27"}, {"request": {"uri": "/api/parts.json?limit=100&bucket=40003527-1c2a-476a-8270-eb7572e69ee0&name=model_without_instances&category=MODEL", "headers": {"Accept": "*/*", "X-Requested-With": "XMLHttpRequest", "Authorization": "Token ", "User-Agent": "python-requests/2.18.4", "Connection": "keep-alive", "Accept-Encoding": "gzip, deflate", "PyKechain-Version": "1.12.6"}, "body": {"string": "", "encoding": "utf-8"}, "method": "GET"}, "response": {"headers": {"X-Content-Type-Options": "nosniff", "Transfer-Encoding": "chunked", "Content-Encoding": "gzip", "X-XSS-Protection": "1; mode=block", "Date": "Mon, 02 Oct 2017 07:12:28 GMT", "Allow": "GET, POST, HEAD, OPTIONS", "X-Frame-Options": "SAMEORIGIN", "Content-Type": "application/json", "Vary": "Accept-Encoding", "Strict-Transport-Security": "max-age=518400; includeSubDomains", "Connection": "keep-alive", "Server": "nginx/1.10.2"}, "body": {"base64_string": "H4sIAAAAAAAAA41RwU7jMBT8FeRz3aRtWpLcKkB7ge1qxWVBKHLsF2Jwbct+3qWq+u/7EjZluXGKx543eTNzZNIli6xezJiFNzrYZMyM+QC/tUtxwgFiMkjw8ci0YjWT0F62pSh4V67WvFhDxUXVVnzRCbkSsFmWZcdmLAVD5B7RxzrLXkEuhdfzV+CyF9rOpdtndJF5ETBmX9Gcv0RnSdiKPZDy3ikwzR+NvUvYaBtRWAmRCAqiDNqjJnrN6EL22qhmHDjbGtGHZ+choIbB5hMNCIRnFw40fre7vrkdNIyIUXeant51r7b329vdt/F/BlC0hrbCkGDGQOlPmBb0CScU6SMxBWjw4AcnPygCkqEkYOjjODm8EiiMe76QziJFBoFIYwMFiGKd5xVf5esNL9qq4uUiB65yuSyrvFL5ZsNO5JGK095oqXGw8nDzc9fcbb//GuycNetOmAhjBm+HKZBexCam9rxqPNP+vYy1fcxC2GuKx9k47C8DUICT3+TVf4jKweAOEySmej+fTk+nv1Bo9OeUAgAA", "string": "", "encoding": null}, "status": {"message": "OK", "code": 200}, "url": "/api/parts.json?limit=100&bucket=40003527-1c2a-476a-8270-eb7572e69ee0&name=model_without_instances&category=MODEL"}, "recorded_at": "2017-10-02T07:12:28"}, {"request": {"uri": "/api/parts.json?limit=100&category=INSTANCE&model=ceb7b8a4-f835-45e9-a9b9-1fac3ae6288f", "headers": {"Accept": "*/*", "X-Requested-With": "XMLHttpRequest", "Authorization": "Token ", "User-Agent": "python-requests/2.18.4", "Connection": "keep-alive", "Accept-Encoding": "gzip, deflate", "PyKechain-Version": "1.12.6"}, "body": {"string": "", "encoding": "utf-8"}, "method": "GET"}, "response": {"headers": {"X-Content-Type-Options": "nosniff", "Transfer-Encoding": "chunked", "Content-Encoding": "gzip", "X-XSS-Protection": "1; mode=block", "Date": "Mon, 02 Oct 2017 07:12:28 GMT", "Allow": "GET, POST, HEAD, OPTIONS", "X-Frame-Options": "SAMEORIGIN", "Content-Type": "application/json", "Vary": "Accept-Encoding", "Strict-Transport-Security": "max-age=518400; includeSubDomains", "Connection": "keep-alive", "Server": "nginx/1.10.2"}, "body": {"base64_string": "H4sIAAAAAAAAA6tWSs4vzStRsjLQUcpLrQAy8kpzcnSUCopSyzLzS4th/KLU4tKcEiA3OrYWAHDt3lM0AAAA", "string": "", "encoding": null}, "status": {"message": "OK", "code": 200}, "url": "/api/parts.json?limit=100&category=INSTANCE&model=ceb7b8a4-f835-45e9-a9b9-1fac3ae6288f"}, "recorded_at": "2017-10-02T07:12:28"}], "recorded_with": "betamax/0.8.0"} \ No newline at end of file