aboutsummaryrefslogtreecommitdiffstats
path: root/octopart_test.go
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2012-09-19 17:07:54 +0200
committerbnewbold <bnewbold@robocracy.org>2012-09-19 17:07:54 +0200
commitcc783ca52451587a471d109c9d0229c3c21c29b8 (patch)
tree27487ca55f942d95307d4bb69a32763799feac8c /octopart_test.go
parent24a4873ded5020f99ccb8850c9efda25928b5710 (diff)
downloadbommom-cc783ca52451587a471d109c9d0229c3c21c29b8.tar.gz
bommom-cc783ca52451587a471d109c9d0229c3c21c29b8.zip
basic bom uploading (WIP)
Diffstat (limited to 'octopart_test.go')
-rw-r--r--octopart_test.go9
1 files changed, 8 insertions, 1 deletions
diff --git a/octopart_test.go b/octopart_test.go
index 75953ee..2e0e295 100644
--- a/octopart_test.go
+++ b/octopart_test.go
@@ -42,4 +42,11 @@ func TestGetMarketInfo(t *testing.T) {
}
}
-//TODO? TestGetPricing
+func TestAttachInfo(t *testing.T) {
+ b := makeTestBom()
+ bm := &BomMeta{}
+ oc := NewOctopartClient("")
+ oc.AttachMarketInfo(oc)
+ DumpBomAsText(bm, b,
+}
+