Commit Graph
29 Commits
Author SHA1 Message Date
shockrah 00fccb72e5 Mysterious tuple from string bug here
Patching because I have other things to do but basically this diff at line 20 shows that even though self.secret was assigned toa  string value, it was still being given the type of tuple with the first/only item being the string value
I have no idea how this was happeneing but its fixed as of now

* also im ignoring the cargo_bin flag in the environment for now as its just causing issues while debugging
2021-01-20 22:50:23 -08:00
shockrah 84ac9883d1 * sending body data as prepared json to
- removing pointless asserts
- removed unused param in Request.make
2021-01-20 22:47:12 -08:00
shockrah aaa1378af8 -Removed old tests altogether now its benchmarking time 2021-01-20 21:56:21 -08:00
shockrah d44ba36e58 adding virtualenv things 2021-01-20 21:55:32 -08:00
shockrah c77ce0b7b6 Removing unused log method from previous builds 2021-01-20 21:29:37 -08:00
shockrah 68099af7ba Building stateless tests for now as a proof of concept that this more spammy testing approach can work 2021-01-20 21:28:33 -08:00
shockrah e39179da78 Response now has a .json method to pull the body out as a dictionary 2021-01-20 21:26:50 -08:00
shockrah 5446d70d84 ! First new colorng mechanism is added for better human readability
+ Turning _make_requests into a lower level driver which now creates Response types with its own self.url now

+ Request.make is now smarter and uses its own state to dispatch the proper request
Emits a respective Response object as well
2021-01-20 20:11:53 -08:00
shockrah d31b02089e Conceptualizing how future tests will be written. IDeally we can specify them even later in json so that we can generate huge amounts of tests in any language and toss them through this pipeline fast as hell 2021-01-20 20:09:29 -08:00
shockrah 2f15e2ef62 Removal/skeltonizing of a shitload of old code 2021-01-20 17:45:22 -08:00
shockrah fc74a3dbc7 Moving http logic to its own module under a new 'web' module
More interfaces for the testing client will be built to better analyze responses in next patches
2021-01-20 16:56:54 -08:00
shockrah 79d77e0007 Beginning refactor of test client to more cleanly create new tests
Body parameters were being polluted so new logic is required to make the worker more stable and ignore its state properly
2021-01-20 13:50:09 -08:00
shockrah c89c2a4469 adding more tests for the new message fetch route 2021-01-18 23:25:11 -08:00
shockrah 2fb24ee45e New server meta endpoint to help out clients remember stuff about that server 2020-12-30 01:47:12 -08:00
shockrah 76fc2f66b3 More tests that are passing <o/ 2020-12-30 01:13:15 -08:00
shockrah c79cf34dfd slightly more coverage for now not fulll
- Old tests won't work anymore due to jwt things
2020-12-29 23:57:40 -08:00
shockrah 275869a6f7 showing options passed to routes in tests 2020-12-12 14:46:09 -08:00
shockrah 8e2b52d1c9 Moving passable tests to their own function for now as we'll need some failing tests soon 2020-12-12 13:33:21 -08:00
shockrah 13eb58ec06 * Owner perms were not being calculated correctly, this is now fixed 2020-11-21 19:18:40 -08:00
shockrah acbbaab68d create_admin flag now behaves correctly 2020-11-21 19:04:06 -08:00
shockrah 88a5d63e4f changed dev account because i nuked my db again lmao 2020-11-17 00:06:09 -08:00
shockrah 5f8863e9df updated /channel/delete test to pass in correct params, was always workign correctly however 2020-11-07 21:33:03 -08:00
shockrah 84f04c20cd integrating special response object to make pull 2020-11-04 00:25:55 -08:00
shockrah 4cb8f578ed new test for deleting channels
-x- this test will fail but the patch is required for testing self hosting our code base
2020-10-28 22:31:52 -07:00
shockrah 7023ce2b7a new passing test of sending a message 2020-10-21 23:00:56 -07:00
shockrah 35dac99d88 new helper method to build json body in requests 2020-10-21 22:32:59 -07:00
shockrah 28dbbc4132 vim somtimes gets prompts stuck in the code somehow yea idk either 2020-10-21 20:24:02 -07:00
shockrah c5db9bae51 tfw build script failed before because of random spaces 2020-10-21 20:22:33 -07:00
shockrah 75a9bbe316 new build + test scripst for ci/cd pipelines 2020-10-21 19:36:47 -07:00